Fix config of readthedocs (#1511)

pull/1512/head
Zaida Zhou 2024-03-06 10:30:00 +08:00 committed by GitHub
parent 2fe0ecec3d
commit 447d3bba2c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 22 additions and 0 deletions

View File

@ -3,6 +3,9 @@ version: 2
formats: formats:
- epub - epub
sphinx:
configuration: docs/en/conf.py
# Set the version of Python and other tools you might need # Set the version of Python and other tools you might need
build: build:
os: ubuntu-22.04 os: ubuntu-22.04

View File

@ -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