Skip to content

Commit

Permalink
fix config for readthedocs (#1245)
Browse files Browse the repository at this point in the history
* add config

* update

* move to different docs

* update
  • Loading branch information
RunningLeon authored Mar 5, 2024
1 parent c5f4014 commit 0d027a5
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .readthedocs.yaml → docs/en/.readthedocs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,11 @@ build:
tools:
python: "3.8"


sphinx:
configuration: docs/en/conf.py


python:
install:
- requirements: requirements/docs.txt
Expand Down
18 changes: 18 additions & 0 deletions docs/zh_cn/.readthedocs.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
version: 2

formats: all

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


sphinx:
configuration: docs/zh_cn/conf.py


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

0 comments on commit 0d027a5

Please sign in to comment.