Fix RTD building errors due to the updates in RTD side

This commit is contained in:
Wang Fang
2024-06-06 17:09:45 +08:00
parent a96bc5cb98
commit 392f40e434
2 changed files with 10 additions and 2 deletions

View File

@@ -4,8 +4,10 @@
# Required # Required
version: 2 version: 2
# Set the version of Python and other tools you might need
build: build:
os: "ubuntu-16.04" os: "ubuntu-20.04"
tools: tools:
python: "3.6" python: "3.6"
@@ -17,4 +19,9 @@ formats:
# Optionally set the version of Python and requirements required to build your docs # Optionally set the version of Python and requirements required to build your docs
python: python:
install: install:
- requirements: docs/requirements.txt - requirements: docs/setuptools.requirements.txt
- requirements: docs/requirements.txt
# Specify the path for conf.py
sphinx:
configuration: docs/en/conf.py

View File

@@ -0,0 +1 @@
setuptools<57.5.0