Skip to content

Commit

Permalink
Add new theme
Browse files Browse the repository at this point in the history
  • Loading branch information
ericholscher committed Oct 17, 2013
1 parent 84a31d1 commit d9829a2
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
3 changes: 3 additions & 0 deletions .gitmodules
@@ -0,0 +1,3 @@
[submodule "docs/_themes/sphinx_rtd_theme"]
path = docs/_themes/sphinx_rtd_theme
url = https://github.com/snide/sphinx_rtd_theme.git
1 change: 1 addition & 0 deletions docs/_themes/sphinx_rtd_theme
Submodule sphinx_rtd_theme added at 3d2de7
6 changes: 2 additions & 4 deletions docs/conf.py
Expand Up @@ -32,10 +32,8 @@
'sphinx': ('http://sphinx.readthedocs.org/en/latest/', None),
}
on_rtd = os.environ.get('READTHEDOCS', None) == 'True'
if on_rtd:
html_theme = 'default'
else:
html_theme = 'nature'
html_theme_path = ['_themes/sphinx_rtd_theme']
html_theme = 'sphinx_rtd_theme'
# This doesn't exist since we aren't shipping any static files ourselves.
#html_static_path = ['_static']
htmlhelp_basename = 'ReadTheDocsdoc'
Expand Down

0 comments on commit d9829a2

Please sign in to comment.