Skip to content

Document library functions

Antonin Godard bitbake-devel yocto-docs 1 version In review

Get series with b4
b4 am [email protected] change-id 20250418-library-functions-6981354bba94

Versions newest first

  1. v1 Latest4 patches 4 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4utils: format and improve docstringslib/bb/utils.py+453 -1481 reply
2/4lib/bb: format and improve logging docstringslib/bb/__init__.py+70 -61 reply
3/4doc: add a new Library Functions documentdoc/bitbake-user-manual/bitbake-user-manual-library-functions.rst doc/conf.py doc/index.rst+67 -01 reply
4/4doc: bitbake-user-manual-metadata: provide link to new docdoc/bitbake-user-manual/bitbake-user-manual-metadata.rst+2 -50 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/4] Document library functions

Use the Sphinx autodoc extensions to document the functions from lib/. For now logging utilities and bb.utils functions are automatically documented. Some syntax a formatting needed to be done for the doc to render properly.

---
Antonin Godard (4):
utils: format and improve docstrings
lib/bb: format and improve logging docstrings
doc: add a new Library Functions document
doc: bitbake-user-manual-metadata: provide link to new doc

 .../bitbake-user-manual-library-functions.rst      |  59 ++
 .../bitbake-user-manual-metadata.rst               |   7 +-
 doc/conf.py                                        |   7 +
 doc/index.rst                                      |   1 +
 lib/bb/__init__.py                                 |  76 ++-
 lib/bb/utils.py                                    | 601 ++++++++++++++++-----
 6 files changed, 592 insertions(+), 159 deletions(-)

---
base-commit: 24772dd2ae6c0cd11540a260f15065f906fb0997
change-id: 20250418-library-functions-6981354bba94

Best regards,
--
Antonin Godard <[email protected]>