Skip to content

Commit

Permalink
Fix read the doc default theme (#1668)
Browse files Browse the repository at this point in the history
* Fix doc theme because rtd change default

* Fix doc build
  • Loading branch information
araffin committed Sep 7, 2023
1 parent e071796 commit 57dbefe
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -112,13 +112,7 @@
# The theme to use for HTML and HTML Help pages. See the documentation for
# a list of builtin themes.

# Fix for read the docs
on_rtd = os.environ.get("READTHEDOCS") == "True"
if on_rtd:
html_theme = "default"
else:
html_theme = "sphinx_rtd_theme"

html_theme = "sphinx_rtd_theme"
html_logo = "_static/img/logo.png"


Expand Down

0 comments on commit 57dbefe

Please sign in to comment.