mirror of https://github.com/coqui-ai/TTS.git
Fix readthedocs build
This commit is contained in:
parent
2e1a428b83
commit
8cb16da82a
|
@ -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
|
||||
- requirements: docs/requirements.txt
|
||||
- requirements: requirements.txt
|
|
@ -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
|
||||
|
|
|
@ -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'
|
||||
|
|
|
@ -48,6 +48,5 @@
|
|||
:maxdepth: 2
|
||||
:caption: `vocoder` Models
|
||||
|
||||
main_classes/gan
|
||||
```
|
||||
|
||||
|
|
Loading…
Reference in New Issue