aboutsummaryrefslogtreecommitdiff
path: root/docs/conf.py
diff options
context:
space:
mode:
authorYonggang Luo <luoyonggang@gmail.com>2020-10-16 06:06:23 +0800
committerPaolo Bonzini <pbonzini@redhat.com>2020-10-17 10:45:52 -0400
commita94a689cc5c5b2a1fbba4dd418e456a14e6e12e5 (patch)
treefae1168ea888ce7b51be7404688274b140482739 /docs/conf.py
parent3856873ee404c028a47115147f21cdc4b0d25566 (diff)
downloadqemu-a94a689cc5c5b2a1fbba4dd418e456a14e6e12e5.zip
qemu-a94a689cc5c5b2a1fbba4dd418e456a14e6e12e5.tar.gz
qemu-a94a689cc5c5b2a1fbba4dd418e456a14e6e12e5.tar.bz2
docs: Fix Sphinx configuration for msys2/mingw
Python doesn't support running ../scripts/kernel-doc directly. Signed-off-by: Yonggang Luo <luoyonggang@gmail.com> Message-Id: <20201015220626.418-2-luoyonggang@gmail.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'docs/conf.py')
-rw-r--r--docs/conf.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/conf.py b/docs/conf.py
index 00e1b75..e584f68 100644
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -241,7 +241,7 @@ 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_bin = ['perl', os.path.join(qemu_docdir, '../scripts/kernel-doc')]
kerneldoc_srctree = os.path.join(qemu_docdir, '..')
hxtool_srctree = os.path.join(qemu_docdir, '..')
qapidoc_srctree = os.path.join(qemu_docdir, '..')