summaryrefslogtreecommitdiff
path: root/conf.py
diff options
context:
space:
mode:
authorScott Shawcroft <scott@tannewt.org>2020-05-18 16:07:07 -0700
committerScott Shawcroft <scott@tannewt.org>2020-05-18 16:29:15 -0700
commit1e9436519b39efbe0e0e48e3725eebb4cea41feb (patch)
treeb2eff9aea8683e2a3213551a467078c8806b9463 /conf.py
parent32617d5f2fb051d3adf55bf0f4f00f10cc5d74aa (diff)
Fix ReadTheDocs after switching to stubs + autoapi.
Diffstat (limited to 'conf.py')
-rw-r--r--conf.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/conf.py b/conf.py
index d6fa8f7e5..c36ba8647 100644
--- a/conf.py
+++ b/conf.py
@@ -18,6 +18,7 @@ import sys
import os
import recommonmark
+import subprocess
# If extensions (or modules to document with autodoc) are in another directory,
# add these directories to sys.path here. If the directory is relative to the
@@ -67,6 +68,7 @@ source_suffix = {
'.md': 'markdown',
}
+subprocess.check_output(["make", "stubs"])
extensions.append('autoapi.extension')
autoapi_type = 'python'