mirror of
https://github.com/qemu/qemu.git
synced 2025-08-04 08:23:09 +00:00
docs/conf.py: Enable use of kerneldoc sphinx extension
Signed-off-by: Peter Maydell <peter.maydell@linaro.org> Message-Id: <20190521122519.12573-4-peter.maydell@linaro.org> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
This commit is contained in:
parent
4cf4179441
commit
22b5ea75e1
@ -54,7 +54,7 @@
|
|||||||
# Add any Sphinx extension module names here, as strings. They can be
|
# Add any Sphinx extension module names here, as strings. They can be
|
||||||
# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom
|
# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom
|
||||||
# ones.
|
# ones.
|
||||||
extensions = ['qmp_lexer']
|
extensions = ['kerneldoc', 'qmp_lexer']
|
||||||
|
|
||||||
# Add any paths that contain templates here, relative to this directory.
|
# Add any paths that contain templates here, relative to this directory.
|
||||||
templates_path = ['_templates']
|
templates_path = ['_templates']
|
||||||
@ -216,3 +216,8 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
# We use paths starting from qemu_docdir here so that you can run
|
||||||
|
# sphinx-build from anywhere and the kerneldoc extension can still
|
||||||
|
# find everything.
|
||||||
|
kerneldoc_bin = os.path.join(qemu_docdir, '../scripts/kernel-doc')
|
||||||
|
kerneldoc_srctree = os.path.join(qemu_docdir, '..')
|
||||||
|
Loading…
Reference in New Issue
Block a user