Skip to content

Commit

Permalink
Pin sphinx-rtd-theme to v1.0.0
Browse files Browse the repository at this point in the history
It turns out that the newest version (1.2.2) requires Sphinx<7 (see
https://github.com/readthedocs/sphinx_rtd_theme/blob/1.2.2/setup.cfg#L48),
but version 1.0.0 doesn't (see
https://github.com/readthedocs/sphinx_rtd_theme/blob/1.0.0/setup.py#L121).
Either version seems to fix the build errors, so we could either
downgrade Sphinx to 6.2.1 or downgrade sphinx-rtd-theme to 1.0.0.
I ended up doing the latter, since an update to sphinx-rtd-theme seems
fairly close: readthedocs/sphinx_rtd_theme#1464.
  • Loading branch information
ddabble authored Jul 5, 2023
1 parent 1e74f98 commit 174badf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion requirements/docs.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Install this project in editable mode, so that its package metadata can be queried
-e .
Sphinx==7.0.1
sphinx-rtd-theme==1.2.2
sphinx-rtd-theme==1.0.0

0 comments on commit 174badf

Please sign in to comment.