docs: disable sphinx.ext.viewcode

viewcode works by importing modules. This doesn't actually work on Read
the Docs because we don't build and install the C extension. It looks
like there are workarounds (viewcode-find-source), but let's disable it
for now.

Signed-off-by: Omar Sandoval <osandov@osandov.com>
This commit is contained in:
Omar Sandoval 2021-11-03 15:58:11 -07:00
parent bc2d5333c0
commit e5021952c8

View File

@ -11,7 +11,6 @@ extensions = [
"setuptools_config",
"sphinx.ext.extlinks",
"sphinx.ext.intersphinx",
"sphinx.ext.viewcode",
]
drgndoc_paths = ["../drgn", "../_drgn.pyi"]