Skip to content

Commit 6766bca

Browse files
Update ReadTheDocs configuration to avoid deprecation warnings with
ReadTheDocs.
1 parent a05b9a5 commit 6766bca

File tree

2 files changed

+13
-6
lines changed

2 files changed

+13
-6
lines changed

.readthedocs.yaml

+11-4
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,16 @@
1+
# required
12
version: 2
23

4+
build:
5+
os: ubuntu-20.04
6+
tools:
7+
python: "3.9"
8+
9+
# Build documentation in the doc/src directory with Sphinx
310
sphinx:
4-
configuration: doc/src/conf.py
11+
configuration: doc/src/conf.py
512

13+
# declare Python requirements required to build docs
614
python:
7-
version: 3.8
8-
install:
9-
- requirements: doc/requirements.txt
15+
install:
16+
- requirements: doc/requirements.txt

doc/requirements.txt

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
sphinx==4.1.2
2-
sphinx_rtd_theme==0.5.1
1+
sphinx>=4.2.0
2+
sphinx-rtd-theme>=0.5.2

0 commit comments

Comments
 (0)