From e3fa1e212760d0b5eabaaf2313ad8516eee765bd Mon Sep 17 00:00:00 2001 From: Dongdong Tian Date: Thu, 27 Feb 2014 20:23:25 +0800 Subject: [PATCH] use rtd theme --- source/conf.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/source/conf.py b/source/conf.py index 98e5f4b..7d927b8 100644 --- a/source/conf.py +++ b/source/conf.py @@ -14,6 +14,7 @@ import sys import os +import sphinx_rtd_theme # If extensions (or modules to document with autodoc) are in another directory, # add these directories to sys.path here. If the directory is relative to the @@ -98,7 +99,8 @@ pygments_style = 'sphinx' # 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' + # 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 @@ -107,6 +109,7 @@ html_theme = 'default' # Add any paths that contain custom themes here, relative to this directory. #html_theme_path = [] +html_theme_path = [sphinx_rtd_theme.get_html_theme_path()] # The name for this set of Sphinx documents. If None, it defaults to # " v documentation".