Permalink
Browse files

Use sphinx_rtd_theme for Sphinx

  • Loading branch information...
1 parent 5a578f7 commit 5e9ad257a55e102c9107e010c253577f883eba21 @tiwilliam tiwilliam committed Feb 2, 2014
Showing with 8 additions and 5 deletions.
  1. +7 −5 docs/conf.py
  2. +1 −0 requirements.txt
View
@@ -36,7 +36,7 @@
templates_path = ['_templates']
# The suffix of source filenames.
-source_suffix = '.txt'
+source_suffix = '.rst'
# The encoding of source files.
#source_encoding = 'utf-8-sig'
@@ -98,18 +98,20 @@
# -- Options for HTML output ----------------------------------------------
+import sphinx_rtd_theme
+
# The theme to use for HTML and HTML Help pages. See the documentation for
# a list of builtin themes.
-html_theme = 'default'
+html_theme = "sphinx_rtd_theme"
+
+# Add any paths that contain custom themes here, relative to this directory.
+html_theme_path = [sphinx_rtd_theme.get_html_theme_path()]
# 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
# documentation.
#html_theme_options = {}
-# Add any paths that contain custom themes here, relative to this directory.
-#html_theme_path = []
-
# The name for this set of Sphinx documents. If None, it defaults to
# "<project> v<release> documentation".
#html_title = None
View
@@ -1,4 +1,5 @@
tox
nose
Sphinx
+sphinx_rtd_theme

0 comments on commit 5e9ad25

Please sign in to comment.