From 3422c7570aa0236a67addf650d40fdfe2e6b5517 Mon Sep 17 00:00:00 2001 From: Kelsey Jordahl Date: Sun, 27 Oct 2013 21:22:21 -0400 Subject: [PATCH] DOC: Use default theme on readthedocs.com --- doc/source/conf.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/doc/source/conf.py b/doc/source/conf.py index adba763..d1524ee 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -93,7 +93,10 @@ pygments_style = 'sphinx' # The theme to use for HTML and HTML Help pages. See the documentation for # a list of builtin themes. -html_theme = 'nature' +if os.environ.get('READTHEDOCS', None) == 'True': + html_theme = 'default' +else: + html_theme = 'nature' # 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