update config file for readthedocs

This commit is contained in:
iclementine 2021-01-14 12:40:18 +08:00
parent c522e56e86
commit 27cba27d1b
3 changed files with 30 additions and 3 deletions

29
.readthedocs.yml Normal file
View File

@ -0,0 +1,29 @@
# .readthedocs.yml
# Read the Docs configuration file
# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details
# Required
version: 0.2
# Build documentation in the docs/ directory with Sphinx
sphinx:
configuration: docs/source/conf.py
# Build documentation with MkDocs
#mkdocs:
# configuration: mkdocs.yml
# Optionally build your docs in additional formats such as PDF
formats: []
# Optionally set the version of Python and requirements required to build your docs
python:
version: 3.7
install:
- method: pip
path: .
extra_requirements:
- doc
- requirements: docs/requirements.txt

1
docs/requirements.txt Normal file
View File

@ -0,0 +1 @@
paddlepaddle==2.0.0.rc1

View File

@ -1,3 +0,0 @@
numpydoc
sphinx-rtd-theme