From 81ca23497712a3141bb6579a2b43c14fc0f78f84 Mon Sep 17 00:00:00 2001 From: tangxifan Date: Thu, 12 Nov 2020 19:41:00 -0700 Subject: [PATCH] [Doc] Bug fix in readthedoc setting --- .readthedocs.yml | 28 ++++++++++++++++++++-------- 1 file changed, 20 insertions(+), 8 deletions(-) diff --git a/.readthedocs.yml b/.readthedocs.yml index d29e602..d5331a1 100644 --- a/.readthedocs.yml +++ b/.readthedocs.yml @@ -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