Skip to content

Commit

Permalink
Merge pull request #16 from cedwards/master
Browse files Browse the repository at this point in the history
0.3.2018112001 RTD theme
  • Loading branch information
cedwards authored Nov 21, 2018
2 parents 9738472 + 1e6e0f3 commit 55268d8
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,12 @@
# import sys
# sys.path.insert(0, os.path.abspath('.'))

import os
on_rtd = os.environ.get('READTHEDOCS') == 'True'
if on_rtd:
html_theme = 'default'
else:
html_theme = 'sphinx_rtd_theme'

# -- Project information -----------------------------------------------------

Expand Down Expand Up @@ -79,7 +85,7 @@
# The theme to use for HTML and HTML Help pages. See the documentation for
# a list of builtin themes.
#
html_theme = 'alabaster'
##html_theme = 'alabaster'

# 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
Expand Down

0 comments on commit 55268d8

Please sign in to comment.