[python-dtcwt] 33/38: docs: move to new default sphinx template

Ghislain Vaillant ghisvail-guest at moszumanska.debian.org
Tue Mar 8 11:39:20 UTC 2016


This is an automated email from the git hooks/post-receive script.

ghisvail-guest pushed a commit to branch master
in repository python-dtcwt.

commit 976bdcff402be2df785c4b62c06300e1ff51b552
Author: Rich Wareham <rjw57 at cam.ac.uk>
Date:   Wed Aug 5 11:14:47 2015 +0100

    docs: move to new default sphinx template
---
 docs/conf.py | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/docs/conf.py b/docs/conf.py
index 07b6f7e..8fcd302 100644
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -109,7 +109,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 = 'alabaster'
+if os.environ.get('READTHEDOCS', None) == 'True':
+    html_theme = 'default'
 
 # 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

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/python-dtcwt.git



More information about the debian-science-commits mailing list