Permalink
Browse files

Add new theme

  • Loading branch information...
1 parent 84a31d1 commit d9829a2d815193fbbe80cb3d507a2948b56c3794 @ericholscher ericholscher committed Oct 17, 2013
Showing with 6 additions and 4 deletions.
  1. +3 −0 .gitmodules
  2. +1 −0 docs/_themes/sphinx_rtd_theme
  3. +2 −4 docs/conf.py
View
@@ -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
Submodule sphinx_rtd_theme added at 3d2de7
View
@@ -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'

0 comments on commit d9829a2

Please sign in to comment.