[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
base: DOC/
type: sphinx
formats:
html: true
pdf: true
python:
setup_install: true
# .readthedocs.yml
# Read the Docs configuration file
# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details
# Required configuration file version
version: 2
# 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