Skip to content

Commit

Permalink
Add readthedocs configuration for zh_CN (#123)
Browse files Browse the repository at this point in the history
* configure readthedocs

* remove unmaintained docs

---------

Co-authored-by: wangzy <[email protected]>
  • Loading branch information
braisedpork1964 and wangzy committed Jan 31, 2024
1 parent ae3c7c3 commit f90010c
Show file tree
Hide file tree
Showing 7 changed files with 22 additions and 73 deletions.
15 changes: 15 additions & 0 deletions .readthedocs-cn.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
version: 2

formats: all

build:
os: ubuntu-22.04
tools:
python: "3.10"

python:
install:
- requirements: requirements/docs.txt

sphinx:
configuration: docs/zh_cn/conf.py
3 changes: 3 additions & 0 deletions .readthedocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,6 @@ build:
python:
install:
- requirements: requirements/docs.txt

sphinx:
configuration: docs/en/conf.py
4 changes: 2 additions & 2 deletions docs/en/switch_language.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
## <a href='https://lagent.readthedocs.io/en/main/'>English</a>
## <a href='https://lagent.readthedocs.io/en/latest/'>English</a>

## <a href='https://lagent.readthedocs.io/zh_CN/main/'>简体中文</a>
## <a href='https://lagent.readthedocs.io/zh-cn/latest/'>简体中文</a>
23 changes: 0 additions & 23 deletions docs/get_started/Overview.md

This file was deleted.

23 changes: 0 additions & 23 deletions docs/in/get_started/overview.md

This file was deleted.

23 changes: 0 additions & 23 deletions docs/ja/get_started/overview.md

This file was deleted.

4 changes: 2 additions & 2 deletions docs/zh_cn/switch_language.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
## <a href='https://lagent.readthedocs.io/en/main/'>English</a>
## <a href='https://lagent.readthedocs.io/en/latest/'>English</a>

## <a href='https://lagent.readthedocs.io/zh_CN/main/'>简体中文</a>
## <a href='https://lagent.readthedocs.io/zh-cn/latest/'>简体中文</a>

0 comments on commit f90010c

Please sign in to comment.