未验证 提交 ffda3ee4 编写于 作者: H Hui Zhang 提交者: GitHub

Merge pull request #943 from yt605155624/fix_docs

fix docs install
...@@ -20,11 +20,6 @@ formats: [] ...@@ -20,11 +20,6 @@ formats: []
python: python:
version: 3.7 version: 3.7
install: install:
- method: pip
path: .
extra_requirements:
- doc
- requirements: docs/requirements.txt - requirements: docs/requirements.txt
myst-parser myst-parser
numpydoc
recommonmark>=0.5.0 recommonmark>=0.5.0
sphinx sphinx
sphinx-autobuild sphinx-autobuild
sphinx-markdown-tables sphinx-markdown-tables
sphinx_rtd_theme sphinx_rtd_theme
\ No newline at end of file
...@@ -20,13 +20,9 @@ ...@@ -20,13 +20,9 @@
# If extensions (or modules to document with autodoc) are in another directory, # 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 # 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. # documentation root, use os.path.abspath to make it absolute, like shown here.
import os
import sys
import recommonmark.parser import recommonmark.parser
import sphinx_rtd_theme import sphinx_rtd_theme
sys.path.insert(0, os.path.abspath('../..'))
autodoc_mock_imports = ["soundfile", "librosa"] autodoc_mock_imports = ["soundfile", "librosa"]
# -- Project information ----------------------------------------------------- # -- Project information -----------------------------------------------------
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册