Skip to content

Commit

Permalink
Explicitly use the sphinx_rtd_theme
Browse files Browse the repository at this point in the history
This used to be the default, but seems to have changed.
  • Loading branch information
jeremyh committed Jun 25, 2024
1 parent a0a1397 commit b9b4a31
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 8 deletions.
9 changes: 1 addition & 8 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,11 +58,4 @@
# overwrite the builtin "default.css".
# html_static_path = ["_static"]


if is_on_readthedocs:
html_theme = "default"
else:
import sphinx_rtd_theme

html_theme = "sphinx_rtd_theme"
html_theme_path = [sphinx_rtd_theme.get_html_theme_path()]
html_theme = "sphinx_rtd_theme"
1 change: 1 addition & 0 deletions docs/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
.
sphinx-autodoc-typehints
sphinx-rtd-theme

0 comments on commit b9b4a31

Please sign in to comment.