]> git.ipfire.org Git - thirdparty/linux.git/commit
docs: kernel_include.py: move range logic to a separate function
authorMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Fri, 22 Aug 2025 14:19:26 +0000 (16:19 +0200)
committerJonathan Corbet <corbet@lwn.net>
Fri, 29 Aug 2025 21:54:43 +0000 (15:54 -0600)
commit3f7f3d494119170dc6636228e8425048effa2931
treeebae5f799c86bb372ededee79edfdbaa87429f17
parent012e00dda347e72a6079c6d21f0c8f97333cc477
docs: kernel_include.py: move range logic to a separate function

Cleanup run() function by moving the range logic to a separate
function.

Here, I ended checking the current Sphinx implementation, as it
has some extra logic for the range check.

Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Link: https://lore.kernel.org/r/12fa2204a9e7e309ae4b8694a37ebad9327ca634.1755872208.git.mchehab+huawei@kernel.org
Documentation/sphinx/kernel_include.py