From d44ce8f580916999e1ccc69dde965f45561c6f59 Mon Sep 17 00:00:00 2001 From: Graham Hayes Date: Mon, 7 Jul 2014 17:34:17 +0100 Subject: [PATCH] Added oslosphinx theme & enabled the incubating theme Added via -f as per https://wiki.openstack.org/wiki/Oslo#Why_aren.27t_alpha_releases_of_oslo.config_published_to_PyPI.3F Change-Id: I4e35abd6da42a5d9a7bb8c3b56fd4e8610e4e17c --- doc/source/conf.py | 4 ++-- test-requirements.txt | 2 ++ 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/doc/source/conf.py b/doc/source/conf.py index 21d609be..8256a646 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -25,7 +25,7 @@ import sys, os # Add any Sphinx extension module names here, as strings. They can be extensions # coming with Sphinx (named 'sphinx.ext.*') or your custom ones. -extensions = ['sphinx.ext.autodoc', 'sphinx.ext.viewcode', 'sphinxcontrib.httpdomain'] +extensions = ['sphinx.ext.autodoc', 'sphinx.ext.viewcode', 'sphinxcontrib.httpdomain', 'oslosphinx'] # Add any paths that contain templates here, relative to this directory. templates_path = ['_templates'] @@ -97,7 +97,7 @@ 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 # documentation. -#html_theme_options = {} +html_theme_options = {'incubating': True} # Add any paths that contain custom themes here, relative to this directory. #html_theme_path = [] diff --git a/test-requirements.txt b/test-requirements.txt index 60b35a73..314e3a5d 100644 --- a/test-requirements.txt +++ b/test-requirements.txt @@ -12,3 +12,5 @@ testtools>=0.9.34 testrepository>=0.0.18 testscenarios>=0.4 WebTest>=2.0 +# Needed for the incubation theme on oslosphinx +http://tarballs.openstack.org/oslosphinx/oslosphinx-2.2.0.0a3.tar.gz#egg=oslosphinx-2.2.0.0a3