From 27cba27d1befd98c745d00e190df5035ef78b131 Mon Sep 17 00:00:00 2001 From: iclementine Date: Thu, 14 Jan 2021 12:40:18 +0800 Subject: [PATCH] update config file for readthedocs --- .readthedocs.yml | 29 +++++++++++++++++++++++++++++ docs/requirements.txt | 1 + requirements.txt | 3 --- 3 files changed, 30 insertions(+), 3 deletions(-) create mode 100644 .readthedocs.yml create mode 100644 docs/requirements.txt delete mode 100644 requirements.txt diff --git a/.readthedocs.yml b/.readthedocs.yml new file mode 100644 index 0000000..cbb9613 --- /dev/null +++ b/.readthedocs.yml @@ -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 + diff --git a/docs/requirements.txt b/docs/requirements.txt new file mode 100644 index 0000000..213ff3d --- /dev/null +++ b/docs/requirements.txt @@ -0,0 +1 @@ +paddlepaddle==2.0.0.rc1 \ No newline at end of file diff --git a/requirements.txt b/requirements.txt deleted file mode 100644 index 786ca3b..0000000 --- a/requirements.txt +++ /dev/null @@ -1,3 +0,0 @@ -numpydoc -sphinx-rtd-theme -