]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
scripts/kernel-doc.py: properly handle out_section for ReST
authorMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Tue, 8 Apr 2025 10:09:19 +0000 (18:09 +0800)
committerJonathan Corbet <corbet@lwn.net>
Wed, 9 Apr 2025 18:10:33 +0000 (12:10 -0600)
commit9235ec5e2bf8ccd3f3ef30bbb1811bf9ddb3ef08
tree5695d8360a04c7fe0e302aa68bf87f5d3238fff6
parent408269ae35d6b88d48477af56a2376ea05e619ca
scripts/kernel-doc.py: properly handle out_section for ReST

There is a difference at the way DOC sections are output with
the include mode. Handle such difference properly.

Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Link: https://lore.kernel.org/r/935d00c6a7c45b25a8be72fad6183fe5a8476cd2.1744106242.git.mchehab+huawei@kernel.org
scripts/lib/kdoc/kdoc_output.py