Skip to content

Commit

Permalink
.readthedocs.yaml: add docs requirements to fix rtd build
Browse files Browse the repository at this point in the history
In the past readthedocs installed sphinx-rtd-theme implicitly, but not
anymore. So add a requirements.txt with a pinned version of
sphinx-rtd-theme and reference it in the .readthedocs.yaml.

Signed-off-by: Bastian Krause <[email protected]>
  • Loading branch information
Bastian-Krause committed Mar 14, 2024
1 parent 76f5a1d commit f8126c7
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .readthedocs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,7 @@ build:

sphinx:
configuration: docs/conf.py

python:
install:
- requirements: docs/requirements.txt
1 change: 1 addition & 0 deletions docs/requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
sphinx-rtd-theme==2.0.0

0 comments on commit f8126c7

Please sign in to comment.