summaryrefslogtreecommitdiff
path: root/include/linux/string.h
diff options
context:
space:
mode:
authorSimon Glass <[email protected]>2026-03-18 07:23:56 -0600
committerHeinrich Schuchardt <[email protected]>2026-04-17 07:12:07 +0200
commit1ab7f4e2ed5ebee17f5e31d3b39536ae00008f8f (patch)
tree6c0ee51c61ce2eff55d1a6f7e932dc4cabe6da1d /include/linux/string.h
parent70fd0c3bb7c26d42f24d10145dd5f3168ac92eac (diff)
binman: Add Sphinx extension to auto-generate entry and bintool docs
Currently entries.rst and bintools.rst are generated manually by running 'binman entry-docs' and 'binman bintool-docs', then committed to the repo. This means the docs can drift out of date when docstrings are updated but the RST files are not regenerated. Add a Sphinx extension (binman_docs) that provides two custom directives: .. binman-entry-docs:: .. binman-bintool-docs:: These parse the etype and btool source files using the ast module to extract class docstrings, then insert the documentation directly into the document tree. This avoids the need to import binman modules (which have dependencies like libfdt that are not available in the ReadTheDocs build environment) and avoids writing any intermediate files. Signed-off-by: Simon Glass <[email protected]>
Diffstat (limited to 'include/linux/string.h')
0 files changed, 0 insertions, 0 deletions