diff options
| author | Karl Mehltretter <kmehltretter@gmail.com> | 2026-10-03 01:01:14 +0200 |
|---|---|---|
| committer | Jonathan Corbet <corbet@lwn.net> | 2026-10-22 09:52:26 -0600 |
| commit | 86dbc298d16698df5a6605fcc0e0981ea631912c (patch) | |
| tree | 12ddb1bf7b9360746a01a17cfed934fd916f63f8 /tools/perf/scripts/python/bin/stackcollapse-report | |
| parent | 4180abdb5d9386188fab56709773208075fadd81 (diff) | |
docs: kerneldoc.py: preserve headings in kernel-doc output
kerneldoc.py parses extracted ReST into a detached section node while
retaining the surrounding title hierarchy. Docutils 0.21.2 silently drops
affected sections; 0.22.4 reports:
Documentation/networking/kapi:107:
../include/net/net_shaper.h:75:
ERROR: A level 3 section cannot be used here.
The same issue drops three Xe DRM RAS headings already in mainline.
Use nested_parse_with_titles() to give kernel-doc output an independent
title hierarchy.
Fixes: 2404dad1f67f ("doc: Cope with the deprecation of AutoReporter")
Acked-by: Randy Dunlap <rdunlap@infradead.org>
Tested-by: Randy Dunlap <rdunlap@infradead.org>
Signed-off-by: Karl Mehltretter <kmehltretter@gmail.com>
Reviewed-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Message-ID: <20261002230114.39651-1-kmehltretter@gmail.com>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-report')
0 files changed, 0 insertions, 0 deletions
