Skip to content

Commit 7f4e6ce

Browse files
committed
Update Python version for readthedocs build [no ci]
1 parent bf2be73 commit 7f4e6ce

File tree

2 files changed

+12
-3
lines changed

2 files changed

+12
-3
lines changed

docs/requirements.txt

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,2 @@
11
sphinx==5.3.0
2-
sphinx-rtd-theme
3-
urllib3==1.26.15
2+
sphinx-rtd-theme

readthedocs.yml

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,15 @@
1+
# .readthedocs.yaml
2+
3+
# required
14
version: 2
25

6+
# set the version of Python and other tools you might need
7+
build:
8+
os: ubuntu-22.04
9+
tools:
10+
python: "3.11"
11+
12+
# build documentation in the docs/ directory with Sphinx
313
sphinx:
414
builder: html
515
configuration: docs/conf.py
@@ -8,8 +18,8 @@ sphinx:
818
build:
919
image: latest
1020

21+
# declare the Python requirements required to build your docs
1122
python:
12-
version: 3.8
1323
install:
1424
- requirements: docs/requirements.txt
1525
- method: pip

0 commit comments

Comments
 (0)