From 1ce910e45c194db7bd35469d7a28be772b76600f Mon Sep 17 00:00:00 2001 From: Julio Biason Date: Tue, 8 Apr 2014 15:21:34 -0300 Subject: [PATCH] switched the offline doc theme to rtd too --- doc/conf.py | 7 ++++--- requirements-dev.txt | 1 + 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/doc/conf.py b/doc/conf.py index 38e2fec..74271a3 100644 --- a/doc/conf.py +++ b/doc/conf.py @@ -15,7 +15,7 @@ import sys import os -# import sphinx_readable_theme +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 @@ -105,8 +105,9 @@ 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 = 'default' # html_theme = 'readable' +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 @@ -114,7 +115,7 @@ html_theme = 'default' #html_theme_options = {} # Add any paths that contain custom themes here, relative to this directory. -# html_theme_path = [sphinx_readable_theme.get_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". diff --git a/requirements-dev.txt b/requirements-dev.txt index b3573cd..feec0de 100644 --- a/requirements-dev.txt +++ b/requirements-dev.txt @@ -2,3 +2,4 @@ nose nosexcover sphinx sphinxcontrib-httpdomain +sphinx_rtd_theme