Skip to content

Commit

Permalink
sphinx: default theme for docs
Browse files Browse the repository at this point in the history
  • Loading branch information
PabloCastellano committed Jun 27, 2015
1 parent 39d2ad5 commit 92fcdfe
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,8 @@

# 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'
html_theme = 'default'

# 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 Expand Up @@ -353,10 +354,3 @@

# If false, no index is generated.
#epub_use_index = 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()]

0 comments on commit 92fcdfe

Please sign in to comment.