aboutsummaryrefslogtreecommitdiff
path: root/docs/sphinx
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/sphinx
parent3856873ee404c028a47115147f21cdc4b0d25566 (diff)
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/sphinx')
-rw-r--r--docs/sphinx/kerneldoc.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/sphinx/kerneldoc.py b/docs/sphinx/kerneldoc.py
index 3e87940206..3ac277d162 100644
--- a/docs/sphinx/kerneldoc.py
+++ b/docs/sphinx/kerneldoc.py
@@ -67,7 +67,7 @@ class KernelDocDirective(Directive):
def run(self):
env = self.state.document.settings.env
- cmd = [env.config.kerneldoc_bin, '-rst', '-enable-lineno']
+ cmd = env.config.kerneldoc_bin + ['-rst', '-enable-lineno']
filename = env.config.kerneldoc_srctree + '/' + self.arguments[0]
export_file_patterns = []