diff --git a/.readthedocs.yml b/.readthedocs.yml index ffefb00e..dc38a20f 100644 --- a/.readthedocs.yml +++ b/.readthedocs.yml @@ -20,11 +20,6 @@ formats: [] python: version: 3.7 install: - - method: pip - path: . - extra_requirements: - - doc - - requirements: docs/requirements.txt diff --git a/docs/requirements.txt b/docs/requirements.txt index dfa3e626..11e0d4b4 100644 --- a/docs/requirements.txt +++ b/docs/requirements.txt @@ -1,6 +1,7 @@ myst-parser +numpydoc recommonmark>=0.5.0 sphinx sphinx-autobuild sphinx-markdown-tables -sphinx_rtd_theme \ No newline at end of file +sphinx_rtd_theme diff --git a/docs/source/conf.py b/docs/source/conf.py index fb69e599..c41884ef 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -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 -----------------------------------------------------