Skip to content

Commit

Permalink
Use rtd_theme not only locally
Browse files Browse the repository at this point in the history
  • Loading branch information
birgits committed Feb 6, 2024
1 parent 842edc4 commit 40dc350
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,10 @@
"pr": ("https://github.com/openego/eGon-data/pull/%s", "PR #"),
}
# on_rtd is whether we are on readthedocs.org
on_rtd = os.environ.get("READTHEDOCS", None) == "True"
# on_rtd = os.environ.get("READTHEDOCS", None) == "True"

if not on_rtd: # only set the theme if we're building docs locally
html_theme = "sphinx_rtd_theme"
#if not on_rtd: # only set the theme if we're building docs locally
html_theme = "sphinx_rtd_theme"

html_use_smartypants = True
html_last_updated_fmt = "%b %d, %Y"
Expand Down

0 comments on commit 40dc350

Please sign in to comment.