Skip to content

Commit b2d3b6d

Browse files
committed
doc: fix broken RTD build
The project was created some years ago and RTD defaults to some ancient Sphinx version that recently broke due to a docutils update. Use a configuration file and pin the required packages to make the build reproducible.
1 parent 09df17d commit b2d3b6d

File tree

2 files changed

+12
-0
lines changed

2 files changed

+12
-0
lines changed

Diff for: .readthedocs.yaml

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
version: 2
2+
3+
sphinx:
4+
configuration: doc/conf.py
5+
6+
python:
7+
version: 3.8
8+
install:
9+
- requirements: doc/requirements.txt

Diff for: doc/requirements.txt

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
sphinx==4.2.0
2+
sphinx_rtd_theme==1.0.0
3+
readthedocs-sphinx-search==0.1.1

0 commit comments

Comments
 (0)