mirror of
https://github.com/wassname/TTS.git
synced 2026-09-09 11:16:00 +08:00
Fix readthedocs build
This commit is contained in:
+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
|
||||
```
|
||||
|
||||
|
||||
@@ -1,17 +0,0 @@
|
||||
# .readthedocs.yml
|
||||
# Read the Docs configuration file
|
||||
# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details
|
||||
|
||||
# Required
|
||||
version: 2
|
||||
|
||||
# Build documentation in the docs/ directory with Sphinx
|
||||
sphinx:
|
||||
builder: html
|
||||
configuration: docs/conf.py
|
||||
|
||||
# Optionally set the version of Python and requirements required to build your docs
|
||||
python:
|
||||
version: 3.8
|
||||
install:
|
||||
- requirements: doc/requirements.txt
|
||||
Reference in New Issue
Block a user