Fix ReadTheDocs after switching to stubs + autoapi.
This commit is contained in:
parent
32617d5f2f
commit
1e9436519b
2
conf.py
2
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'
|
||||
|
@ -1,3 +1,5 @@
|
||||
sphinx==1.8.5
|
||||
recommonmark==0.5.0
|
||||
sphinxcontrib-svg2pdfconverter==0.1.0
|
||||
astroid
|
||||
sphinx-autoapi
|
||||
|
@ -1 +0,0 @@
|
||||
rst2pyi>=0.3.0
|
Loading…
x
Reference in New Issue
Block a user