aboutsummaryrefslogtreecommitdiff
path: root/docs/sphinx
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2020-11-30 07:16:11 -0500
committerPaolo Bonzini <pbonzini@redhat.com>2020-12-10 12:15:19 -0500
commitf79248b53bee83bb8e69c8b2e9d70d6d28039987 (patch)
tree1868d3709733af870f0048f9225d0ae2cc6b5c86 /docs/sphinx
parented7fa564cb104070213eb6184573a0074827bdb8 (diff)
downloadqemu-f79248b53bee83bb8e69c8b2e9d70d6d28039987.zip
qemu-f79248b53bee83bb8e69c8b2e9d70d6d28039987.tar.gz
qemu-f79248b53bee83bb8e69c8b2e9d70d6d28039987.tar.bz2
docs: temporarily disable the kernel-doc extension
Preserve bisectability while we update scripts/kernel-doc from Linux. Without this patch, building with Sphinx 3 would break while we revert our own Sphinx 3 support and replace it with Linux's. Suggested-by: Peter Maydell <peter.maydell@linaro.org> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'docs/sphinx')
-rw-r--r--docs/sphinx/kerneldoc.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/docs/sphinx/kerneldoc.py b/docs/sphinx/kerneldoc.py
index 3ac277d..9124fcb 100644
--- a/docs/sphinx/kerneldoc.py
+++ b/docs/sphinx/kerneldoc.py
@@ -75,6 +75,9 @@ class KernelDocDirective(Directive):
# Tell sphinx of the dependency
env.note_dependency(os.path.abspath(filename))
+ # Disabled temporarily while scripts/kernel-doc is updated
+ return []
+
tab_width = self.options.get('tab-width', self.state.document.settings.tab_width)
# FIXME: make this nicer and more robust against errors