From c6ec9d9ac5964d5d609e067d35a9c496ab7151fc Mon Sep 17 00:00:00 2001 From: CamDavidsonPilon Date: Fri, 29 Sep 2023 16:39:31 -0400 Subject: [PATCH] docs broke? --- docs/conf.py | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/docs/conf.py b/docs/conf.py index 0f8a360eb..708d25303 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -286,15 +286,10 @@ # use RTFD theme locally # on_rtd is whether we are on readthedocs.org, this line of code grabbed from docs.readthedocs.org -import os - -on_rtd = os.environ.get("READTHEDOCS", None) == "True" - -if not on_rtd: # only import and set the theme if we're building docs locally - import sphinx_rtd_theme +import sphinx_rtd_theme - html_theme = "sphinx_rtd_theme" - html_theme_path = [sphinx_rtd_theme.get_html_theme_path()] +html_theme = "sphinx_rtd_theme" +html_theme_path = [sphinx_rtd_theme.get_html_theme_path(), "."] def setup(app):