]> git.ipfire.org Git - thirdparty/qemu.git/commit
scripts/kerneldoc: Switch to the Python kernel-doc script
authorPeter Maydell <peter.maydell@linaro.org>
Thu, 14 Aug 2025 17:13:21 +0000 (18:13 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Sat, 30 Aug 2025 15:37:23 +0000 (16:37 +0100)
commit33be8171e2fe02173d24ffd61bd97bf9c2b37834
tree2e89165ee65fc8bf63b76641557470d2c6939a1b
parent9cbe72b868b7cb04f7553220738f1286b6f0dc32
scripts/kerneldoc: Switch to the Python kernel-doc script

Change the Sphinx config to run the new Python kernel-doc script
instead of the Perl one.  The only difference between the two is that
the new script does not handle the -sphinx-version option, instead
assuming that Sphinx is always at least version 3: so we must
delete the code that passes that option to avoid the Python
script complaining about an unknown option.

QEMU's minimum Sphinx version is already 3.4.3, so this doesn't
change the set of versions we can handle.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
Reviewed-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Message-id: 20250814171324.1614516-7-peter.maydell@linaro.org
docs/conf.py
docs/sphinx/kerneldoc.py