Skip to content

Commit 8804b27

Browse files
committed
.readthedocs.yml: update the requirements
Fix an error: This project needs at least Sphinx v2.4.4. Signed-off-by: Heinrich Schuchardt <[email protected]>
1 parent bba1cc9 commit 8804b27

File tree

2 files changed

+13
-8
lines changed

2 files changed

+13
-8
lines changed

.readthedocs.yml

+10-5
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,20 @@
55
# Required
66
version: 2
77

8+
build:
9+
os: "ubuntu-20.04"
10+
apt_packages:
11+
- python3-six
12+
tools:
13+
python: "3.9"
14+
815
# Build documentation in the docs/ directory with Sphinx
916
sphinx:
1017
configuration: doc/conf.py
1118

1219
# Optionally build your docs in additional formats such as PDF and ePub
1320
formats: []
1421

15-
# Optionally set the version of Python and requirements required to build your docs
16-
# python:
17-
# version: 3.7
18-
# install:
19-
# - requirements: docs/requirements.txt
22+
python:
23+
install:
24+
- requirements: doc/sphinx/requirements.txt

doc/sphinx/requirements.txt

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
docutils==0.16
2-
Sphinx==3.4.3
3-
sphinx_rtd_theme
4-
six
2+
sphinx==3.4.3
3+
sphinx_rtd_theme==1.0.0
4+
six==1.16.0

0 commit comments

Comments
 (0)