diff options
author | Peter Maydell <peter.maydell@linaro.org> | 2019-11-29 14:16:12 +0100 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2019-12-17 19:36:57 +0100 |
commit | 22b5ea75e1f3644ae1c52b901cf05106cb13816c (patch) | |
tree | 48c66cabf99e5ee154e1f3d51d460881334f1943 /docs/conf.py | |
parent | 4cf41794411f91453e19da88ecb7e806a831abf8 (diff) | |
download | qemu-22b5ea75e1f3644ae1c52b901cf05106cb13816c.zip qemu-22b5ea75e1f3644ae1c52b901cf05106cb13816c.tar.gz qemu-22b5ea75e1f3644ae1c52b901cf05106cb13816c.tar.bz2 |
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>
Diffstat (limited to 'docs/conf.py')
-rw-r--r-- | docs/conf.py | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/docs/conf.py b/docs/conf.py index b7edb06..259c604 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -54,7 +54,7 @@ needs_sphinx = '1.3' # Add any Sphinx extension module names here, as strings. They can be # extensions coming with Sphinx (named 'sphinx.ext.*') or your custom # ones. -extensions = ['qmp_lexer'] +extensions = ['kerneldoc', 'qmp_lexer'] # Add any paths that contain templates here, relative to this directory. templates_path = ['_templates'] @@ -216,3 +216,8 @@ texinfo_documents = [ +# 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, '..') |