From 447d3bba2c69863fa171276adf48464dbda46390 Mon Sep 17 00:00:00 2001 From: Zaida Zhou <58739961+zhouzaida@users.noreply.github.com> Date: Wed, 6 Mar 2024 10:30:00 +0800 Subject: [PATCH] Fix config of readthedocs (#1511) --- .readthedocs.yml => docs/en/.readthedocs.yaml | 3 +++ docs/zh_cn/.readthedocs.yaml | 19 +++++++++++++++++++ 2 files changed, 22 insertions(+) rename .readthedocs.yml => docs/en/.readthedocs.yaml (87%) create mode 100644 docs/zh_cn/.readthedocs.yaml diff --git a/.readthedocs.yml b/docs/en/.readthedocs.yaml similarity index 87% rename from .readthedocs.yml rename to docs/en/.readthedocs.yaml index b2597e97..5f0a5233 100644 --- a/.readthedocs.yml +++ b/docs/en/.readthedocs.yaml @@ -3,6 +3,9 @@ version: 2 formats: - epub +sphinx: + configuration: docs/en/conf.py + # Set the version of Python and other tools you might need build: os: ubuntu-22.04 diff --git a/docs/zh_cn/.readthedocs.yaml b/docs/zh_cn/.readthedocs.yaml new file mode 100644 index 00000000..4917e0b2 --- /dev/null +++ b/docs/zh_cn/.readthedocs.yaml @@ -0,0 +1,19 @@ +version: 2 + +formats: + - epub + +sphinx: + configuration: docs/zh_cn/conf.py + +# Set the version of Python and other tools you might need +build: + os: ubuntu-22.04 + tools: + python: "3.10" + +python: + install: + - requirements: requirements/runtime.txt + - requirements: requirements/docs.txt + - requirements: requirements/docs_extra.txt