mirror of
https://github.com/wassname/TTS.git
synced 2026-09-20 12:30:22 +08:00
Fix readthedocs build
This commit is contained in:
@@ -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
|
||||
+1
-1
@@ -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
|
||||
|
||||
+4
-2
@@ -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
|
||||
```
|
||||
|
||||
|
||||
Reference in New Issue
Block a user