Skip to content

Commit

Permalink
another attempt at fixing readthedocs: always set sphinx_rtd_theme
Browse files Browse the repository at this point in the history
  • Loading branch information
cyberw committed Oct 5, 2023
1 parent 28a47dd commit 3777e8d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ def save_locust_env_variables():
# on_rtd is whether we are on readthedocs.org, this line of code grabbed from docs.readthedocs.org
on_rtd = os.environ.get("READTHEDOCS") == "True"

if not on_rtd: # only import and set the theme if we're building docs locally
if not on_rtd or True:
import sphinx_rtd_theme

html_theme = "sphinx_rtd_theme"
Expand Down

0 comments on commit 3777e8d

Please sign in to comment.