From 972c5cb3603508d57fbe382bdee7e838114ab418 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=B0=A2=E6=98=95=E8=BE=B0?= Date: Thu, 7 Mar 2024 18:42:21 +0800 Subject: [PATCH] [Docs] Fix readthedocs (#3584) ref: https://github.com/InternLM/lmdeploy/pull/1245 --- .readthedocs.yml => docs/en/.readthedocs.yml | 5 ++++- docs/zh_cn/.readthedocs.yml | 17 +++++++++++++++++ 2 files changed, 21 insertions(+), 1 deletion(-) rename .readthedocs.yml => docs/en/.readthedocs.yml (74%) create mode 100644 docs/zh_cn/.readthedocs.yml diff --git a/.readthedocs.yml b/docs/en/.readthedocs.yml similarity index 74% rename from .readthedocs.yml rename to docs/en/.readthedocs.yml index 65a65ba1ba..9df9fdb8a3 100644 --- a/.readthedocs.yml +++ b/docs/en/.readthedocs.yml @@ -3,11 +3,14 @@ version: 2 build: os: ubuntu-22.04 tools: - python: "3.7" + python: "3.8" formats: - epub +sphinx: + configuration: docs/en/conf.py + python: install: - requirements: requirements/docs.txt diff --git a/docs/zh_cn/.readthedocs.yml b/docs/zh_cn/.readthedocs.yml new file mode 100644 index 0000000000..9df9fdb8a3 --- /dev/null +++ b/docs/zh_cn/.readthedocs.yml @@ -0,0 +1,17 @@ +version: 2 + +build: + os: ubuntu-22.04 + tools: + python: "3.8" + +formats: + - epub + +sphinx: + configuration: docs/en/conf.py + +python: + install: + - requirements: requirements/docs.txt + - requirements: requirements/readthedocs.txt