Fix ReadTheDocs after switching to stubs + autoapi.

This commit is contained in:
Scott Shawcroft 2020-05-18 16:07:07 -07:00
parent 32617d5f2f
commit 1e9436519b
No known key found for this signature in database
GPG Key ID: 9349BC7E64B1921E
3 changed files with 4 additions and 1 deletions

View File

@ -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'

View File

@ -1,3 +1,5 @@
sphinx==1.8.5
recommonmark==0.5.0
sphinxcontrib-svg2pdfconverter==0.1.0
astroid
sphinx-autoapi

View File

@ -1 +0,0 @@
rst2pyi>=0.3.0