[Doc] Bug fix in readthedoc setting

This commit is contained in:
tangxifan 2020-11-12 19:41:00 -07:00
parent 407d91660a
commit 81ca234977
1 changed files with 20 additions and 8 deletions

View File

@ -1,8 +1,20 @@
- name: en # .readthedocs.yml
base: DOC/ # Read the Docs configuration file
type: sphinx # See https://docs.readthedocs.io/en/stable/config-file/v2.html for details
formats:
html: true # Required configuration file version
pdf: true version: 2
python:
setup_install: true # Build documentation in the docs/ directory with Sphinx
sphinx:
builder: dirhtml
configuration: DOC/source/conf.py
# Optionally build your docs in additional formats such as PDF and ePub
formats: all
# Optionally set the version of Python and requirements required to build your docs
python:
version: 3.7
install:
- requirements: DOC/requirements.txt