aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/lib/kdoc/kdoc_parser.py
diff options
context:
space:
mode:
authorJonathan Corbet <[email protected]>2025-06-19 21:17:39 +0000
committerJonathan Corbet <[email protected]>2025-06-21 19:18:03 +0000
commit4a1dd6643d8ef2c1655f308532fb7d605afa8be4 (patch)
treea448cc3aaaeeb17eb76e33a890cb4cf88c872703 /scripts/lib/kdoc/kdoc_parser.py
parentdocs/sched: Make the sched-stats documentation consistent (diff)
downloadkernel-4a1dd6643d8ef2c1655f308532fb7d605afa8be4.tar.gz
kernel-4a1dd6643d8ef2c1655f308532fb7d605afa8be4.zip
docs: sphinx: avoid using the deprecated node.set_class()
Docutils emits a deprecation warning when the set_class() element method is used; that warning disappears into the ether, but it also causes a crash with docutils 0.19. Avoid the deprecated function and just append directly to the "classes" attribute like the documentation says instead. Reported-by: Akira Yokosawa <[email protected]> Tested-by: Akira Yokosawa <[email protected]> Closes: https://lore.kernel.org/[email protected]/ Fixes: d6d1df92c25f ("docs: automarkup: Mark up undocumented entities too") Signed-off-by: Jonathan Corbet <[email protected]>
Diffstat (limited to 'scripts/lib/kdoc/kdoc_parser.py')
0 files changed, 0 insertions, 0 deletions