Skip to content

Commit

Permalink
use rtd's theme when on rtd
Browse files Browse the repository at this point in the history
  • Loading branch information
Lawouach committed Mar 16, 2013
1 parent 8ad6249 commit 6ff6f75
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,10 @@

# The theme to use for HTML and HTML Help pages. See the documentation for
# a list of builtin themes.
html_theme = 'sphinxdoc'
if os.environ.get('READTHEDOCS', None) == 'True':
html_theme = 'default'
else:
html_theme = 'sphinxdoc'

# 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 6ff6f75

Please sign in to comment.