Skip to content

Commit

Permalink
update .readthedocs.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
jhj0411jhj committed Nov 1, 2023
1 parent 8f215f2 commit 5a4deb7
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 13 deletions.
24 changes: 11 additions & 13 deletions .readthedocs.yml
Original file line number Diff line number Diff line change
@@ -1,24 +1,22 @@
# .readthedocs.yml
# .readthedocs.yaml
# Read the Docs configuration file
# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details

# Required
version: 2

# Build documentation in the docs/ directory with Sphinx
# sphinx:
# configuration: docs/en/conf.py

# Build documentation with MkDocs
# mkdocs:
# configuration: mkdocs.yml
# Set the version of Python and other tools you might need
build:
os: ubuntu-22.04
tools:
python: "3.8"

# Optionally build your docs in additional formats such as PDF
# formats:
# - pdf
# Build documentation in the docs/ directory with Sphinx
sphinx:
configuration: docs/en/conf.py

# Optionally set the version of Python and requirements required to build your docs
# We recommend specifying your dependencies to enable reproducible builds:
# https://docs.readthedocs.io/en/stable/guides/reproducible-builds.html
python:
version: 3.7
install:
- requirements: requirements/dev/docs.txt
22 changes: 22 additions & 0 deletions docs/zh_CN/.readthedocs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# .readthedocs.yaml
# Read the Docs configuration file
# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details

# Required
version: 2

# Set the version of Python and other tools you might need
build:
os: ubuntu-22.04
tools:
python: "3.8"

# Build documentation in the docs/ directory with Sphinx
sphinx:
configuration: docs/zh_CN/conf.py

# We recommend specifying your dependencies to enable reproducible builds:
# https://docs.readthedocs.io/en/stable/guides/reproducible-builds.html
python:
install:
- requirements: requirements/dev/docs.txt

0 comments on commit 5a4deb7

Please sign in to comment.