From bb04bd40654ff2705ee6609edc1f67a5e2b14cbe Mon Sep 17 00:00:00 2001 From: Bruce Elrick Date: Wed, 19 Apr 2023 16:48:44 -0600 Subject: [PATCH] Remove theme carve-out for RTD. --- doc/conf.py | 14 +++++--------- 1 file changed, 5 insertions(+), 9 deletions(-) diff --git a/doc/conf.py b/doc/conf.py index d7a38ff5..fc0cd347 100644 --- a/doc/conf.py +++ b/doc/conf.py @@ -96,19 +96,15 @@ pygments_style = 'sphinx' # The theme to use for HTML and HTML Help pages. See the documentation for # a list of builtin themes. -html_theme = 'classic' +#html_theme = 'classic' # on_rtd is whether we are on readthedocs.org, this line of code grabbed from # docs.readthedocs.org -on_rtd = os.environ.get('READTHEDOCS', None) == 'True' +#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 - html_theme = 'sphinx_rtd_theme' - html_theme_path = [sphinx_rtd_theme.get_html_theme_path()] - -# otherwise, readthedocs.org uses their theme by default, so no need to specify -# it +import sphinx_rtd_theme +html_theme = 'sphinx_rtd_theme' +html_theme_path = [sphinx_rtd_theme.get_html_theme_path()] # Theme options are theme-specific and customize the look and feel of a theme # further. For a list of options available for each theme, see the -- 2.39.2