diff --git a/docs/source/readthedocs.yml b/.readthedocs.yml similarity index 72% rename from docs/source/readthedocs.yml rename to .readthedocs.yml index 59eed1f7..946d363c 100644 --- a/docs/source/readthedocs.yml +++ b/.readthedocs.yml @@ -8,10 +8,11 @@ version: 2 # Build documentation in the docs/ directory with Sphinx sphinx: builder: html - configuration: docs/conf.py + configuration: docs/source/conf.py # Optionally set the version of Python and requirements required to build your docs python: - version: 3.8 + version: 3.7 install: - - requirements: doc/requirements.txt \ No newline at end of file + - requirements: docs/requirements.txt + - requirements: requirements.txt \ No newline at end of file diff --git a/docs/Makefile b/docs/Makefile index 92dd33a1..b1d20a99 100644 --- a/docs/Makefile +++ b/docs/Makefile @@ -3,7 +3,7 @@ # You can set these variables from the command line, and also # from the environment for the first two. -SPHINXOPTS ?= +SPHINXOPTS ?= -j auto -WT --keep-going SPHINXBUILD ?= sphinx-build SOURCEDIR = source BUILDDIR = _build diff --git a/docs/source/conf.py b/docs/source/conf.py index d11f4bef..5831fcdb 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -13,8 +13,10 @@ import os import sys -sys.path.insert(0, os.path.abspath('../../TTS')) -autodoc_mock_imports = ["tts"] +sys.path.insert(0, os.path.abspath('../..')) + +# mock deps with system level requirements. +autodoc_mock_imports = ["soundfile"] # -- Project information ----------------------------------------------------- project = 'TTS' diff --git a/docs/source/index.md b/docs/source/index.md index ec79ecfd..ec32c303 100644 --- a/docs/source/index.md +++ b/docs/source/index.md @@ -48,6 +48,5 @@ :maxdepth: 2 :caption: `vocoder` Models - main_classes/gan ```