fix docs install

pull/943/head
TianYuan 3 years ago
parent 670a68ad95
commit c13b75c2b0

@ -20,11 +20,6 @@ formats: []
python:
version: 3.7
install:
- method: pip
path: .
extra_requirements:
- doc
- requirements: docs/requirements.txt

@ -1,4 +1,5 @@
myst-parser
numpydoc
recommonmark>=0.5.0
sphinx
sphinx-autobuild

@ -20,13 +20,9 @@
# 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
# documentation root, use os.path.abspath to make it absolute, like shown here.
import os
import sys
import recommonmark.parser
import sphinx_rtd_theme
sys.path.insert(0, os.path.abspath('../..'))
autodoc_mock_imports = ["soundfile", "librosa"]
# -- Project information -----------------------------------------------------

Loading…
Cancel
Save