Skip to content

Commit

Permalink
Merge branch 'docs/fix_doc_compile_issue' into 'release/v2.2.0.0_esp8…
Browse files Browse the repository at this point in the history
…266'

docs: Fixed the documentation compilation issue on Read the Docs

See merge request application/esp-at!1678
  • Loading branch information
xcguang committed Dec 2, 2024
2 parents b73f766 + 36ea83c commit b432041
Show file tree
Hide file tree
Showing 2 changed files with 36 additions and 2 deletions.
12 changes: 10 additions & 2 deletions .readthedocs.yml → docs/en/.readthedocs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,17 @@ formats:
- htmlzip
- pdf

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

# Optionally set the version of Python and requirements required to build your docs
python:
version: 3.7
install:
- requirements: docs/setuptools.requirements.txt
- requirements: docs/requirements.txt
- requirements: docs/requirements.txt

sphinx:
configuration: docs/en/conf.py
26 changes: 26 additions & 0 deletions docs/zh_CN/.readthedocs.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
# .readthedocs.yml
# Read the Docs configuration file
# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details

# Required
version: 2

# Optionally build your docs in additional formats such as PDF and ePub
formats:
- htmlzip
- pdf

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

# Optionally set the version of Python and requirements required to build your docs
python:
install:
- requirements: docs/setuptools.requirements.txt
- requirements: docs/requirements.txt

sphinx:
configuration: docs/zh_CN/conf.py

0 comments on commit b432041

Please sign in to comment.