diff --git a/docs/conf.py b/docs/conf.py index e6f995e..db9cdb8 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -27,12 +27,8 @@ "issue": ("https://github.com/Vauxoo/pre-commit-vauxoo/issues/%s", "#"), "pr": ("https://github.com/Vauxoo/pre-commit-vauxoo/pull/%s", "PR #"), } -# on_rtd is whether we are on readthedocs.org -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" +html_theme = "sphinx_rtd_theme" html_use_smartypants = True html_last_updated_fmt = "%b %d, %Y" html_split_index = False