]> git.ipfire.org Git - thirdparty/linux.git/commit
docs: kernel_include.py: fix line numbers for TOC
authorMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Wed, 1 Oct 2025 14:49:26 +0000 (16:49 +0200)
committerJonathan Corbet <corbet@lwn.net>
Fri, 17 Oct 2025 19:56:59 +0000 (13:56 -0600)
commit3ed9521772880099803619b57056c8d3cec16f27
tree36c1db21a87b88093dd7736477cacaa53b48fba8
parentba9fbb3d9a4ba88c0b8713a7b5c86d58192fba22
docs: kernel_include.py: fix line numbers for TOC

On TOC output, we need to embeed line numbers with ViewList.

Change the parse class to produce a line-number parsed result,
and adjust the output accordingly.

Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Message-ID: <74eed96e32f79eaaef7a99ffe7c3224fed369c27.1759329363.git.mchehab+huawei@kernel.org>
Documentation/sphinx/kernel_include.py
tools/docs/lib/parse_data_structs.py