diff --git a/.readthedocs.yml b/docs/en/.readthedocs.yaml similarity index 67% rename from .readthedocs.yml rename to docs/en/.readthedocs.yaml index 4179f6cb..cce68d3c 100644 --- a/.readthedocs.yml +++ b/docs/en/.readthedocs.yaml @@ -10,9 +10,17 @@ formats: - htmlzip - pdf +# Set the version of Python and other tools you might need +build: + os: "ubuntu-20.04" + tools: + python: "3.6" + # Optionally set the version of Python and requirements required to build your docs python: - version: 3.7 install: - requirements: docs/setuptools.requirements.txt - - requirements: docs/requirements.txt \ No newline at end of file + - requirements: docs/requirements.txt + +sphinx: + configuration: docs/en/conf.py diff --git a/docs/zh_CN/.readthedocs.yaml b/docs/zh_CN/.readthedocs.yaml new file mode 100644 index 00000000..475b872b --- /dev/null +++ b/docs/zh_CN/.readthedocs.yaml @@ -0,0 +1,26 @@ +# .readthedocs.yml +# Read the Docs configuration file +# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details + +# Required +version: 2 + +# Optionally build your docs in additional formats such as PDF and ePub +formats: + - htmlzip + - pdf + +# Set the version of Python and other tools you might need +build: + os: "ubuntu-20.04" + tools: + python: "3.6" + +# Optionally set the version of Python and requirements required to build your docs +python: + install: + - requirements: docs/setuptools.requirements.txt + - requirements: docs/requirements.txt + +sphinx: + configuration: docs/zh_CN/conf.py