From 91be8630d898e4c6fffad4f6432499bb16708dba Mon Sep 17 00:00:00 2001 From: RunningLeon Date: Tue, 5 Mar 2024 13:56:24 +0800 Subject: [PATCH] add config --- .readthedocs-zh_cn.yaml | 17 +++++++++++++++++ .readthedocs.yaml | 4 ++++ 2 files changed, 21 insertions(+) create mode 100644 .readthedocs-zh_cn.yaml diff --git a/.readthedocs-zh_cn.yaml b/.readthedocs-zh_cn.yaml new file mode 100644 index 0000000000..d92cecbfd9 --- /dev/null +++ b/.readthedocs-zh_cn.yaml @@ -0,0 +1,17 @@ +version: 2 + +formats: all + +build: + os: "ubuntu-22.04" + tools: + python: "3.8" + +# Build documentation in the "docs/" directory with Sphinx +sphinx: + configuration: docs/zh_cn/conf.py + +python: + install: + - requirements: requirements/docs.txt + - requirements: requirements/readthedocs.txt diff --git a/.readthedocs.yaml b/.readthedocs.yaml index 05ec15cca3..4e071104d3 100644 --- a/.readthedocs.yaml +++ b/.readthedocs.yaml @@ -7,6 +7,10 @@ build: tools: python: "3.8" +# Build documentation in the "docs/" directory with Sphinx +sphinx: + configuration: docs/en/conf.py + python: install: - requirements: requirements/docs.txt