Browse Source

Modified conf.py to use default theme for rtd

main
Bill Ladwig 8 years ago
parent
commit
da2a2f8c07
  1. 11
      doc/source/conf.py

11
doc/source/conf.py

@ -161,11 +161,14 @@ todo_include_todos = False
# The theme to use for HTML and HTML Help pages. See the documentation for # The theme to use for HTML and HTML Help pages. See the documentation for
# a list of builtin themes. # a list of builtin themes.
import sphinx_rtd_theme
html_theme = "sphinx_rtd_theme" on_rtd = os.environ.get('READTHEDOCS') == 'True'
if on_rtd:
html_theme_path = [sphinx_rtd_theme.get_html_theme_path()] html_theme = 'default'
else:
import sphinx_rtd_theme
html_theme = 'sphinx_rtd_theme'
html_theme_path = [sphinx_rtd_theme.get_html_theme_path()]
#html_theme = 'alabaster' #html_theme = 'alabaster'
# Theme options are theme-specific and customize the look and feel of a theme # Theme options are theme-specific and customize the look and feel of a theme

Loading…
Cancel
Save