]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
docs: kdoc_files: move output symbols logic to kdoc_output
authorMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Wed, 18 Mar 2026 09:11:05 +0000 (10:11 +0100)
committerJonathan Corbet <corbet@lwn.net>
Sun, 22 Mar 2026 21:10:40 +0000 (15:10 -0600)
commit9ab2ca3dd127194a55bd9789c031e800fd19c254
tree39b96b179068645f4eb72f1d7ca5c119a743a94d
parente0ebee442d56c11df023b7c2d32edc3b0765b2f3
docs: kdoc_files: move output symbols logic to kdoc_output

When writing unittests for kdoc_output, it became clear that
the logic with handles a series of KdocItem symbols from
a single file belons to kdoc_output, and not to kdoc_files.

Move the code to it.

While here, also ensure that self.config will be placed
together with set.out_style.

Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Message-ID: <4ebc26e37a0b544c50d50b8077760f147fa6a535.1773823995.git.mchehab+huawei@kernel.org>
tools/lib/python/kdoc/kdoc_files.py
tools/lib/python/kdoc/kdoc_output.py