Merge pull request #2928 from tannewt/fix_rtd_autoapi

Fix ReadTheDocs after switching to stubs + autoapi.
This commit is contained in:
sommersoft 2020-05-19 14:19:52 -05:00 committed by GitHub
commit bdc5a6b7c0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 6 additions and 3 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
sphinx<3
recommonmark==0.6.0
sphinxcontrib-svg2pdfconverter==0.1.0
astroid
sphinx-autoapi

View File

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