Skip to content

Commit

Permalink
docs/source/conf.py: fix html_theme setting
Browse files Browse the repository at this point in the history
This seems to have changed on the readthedocs side and is now I think
required to be set.

Signed-off-by: Ondrej Lichtner <[email protected]>
  • Loading branch information
olichtne committed Aug 23, 2023
1 parent b3914b6 commit 9b220d8
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,10 @@
# The theme to use for HTML and HTML Help pages. See the documentation for
# a list of builtin themes.
#
if os.environ.get("READTHEDOCS") == "True":
html_theme = 'sphinx_rtd_theme'
else:
html_theme = 'classic'
# html_theme = 'classic'
# html_theme_options = {
# "body_min_width": "100%",
Expand Down

0 comments on commit 9b220d8

Please sign in to comment.