From 1e9436519b39efbe0e0e48e3725eebb4cea41feb Mon Sep 17 00:00:00 2001 From: Scott Shawcroft Date: Mon, 18 May 2020 16:07:07 -0700 Subject: Fix ReadTheDocs after switching to stubs + autoapi. --- conf.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'conf.py') 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' -- cgit v1.2.3