Skip to content

Commit

Permalink
doc: fix broken RTD build
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
jkloetzke committed Oct 29, 2021
1 parent 09df17d commit b2d3b6d
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .readthedocs.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
version: 2

sphinx:
configuration: doc/conf.py

python:
version: 3.8
install:
- requirements: doc/requirements.txt
3 changes: 3 additions & 0 deletions doc/requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
sphinx==4.2.0
sphinx_rtd_theme==1.0.0
readthedocs-sphinx-search==0.1.1

0 comments on commit b2d3b6d

Please sign in to comment.