From bf87dbfa622d3fb2aa4c29642dedfe9f8cbdd970 Mon Sep 17 00:00:00 2001 From: Steve Martinelli Date: Mon, 27 Apr 2015 12:18:40 -0400 Subject: [PATCH] Update heat-translator's documentation theme Use the theme that is bundled with oslosphinx to create a more 'openstack' themed documentation site. Change-Id: Iaeb9aed5fc7e1f0dd78ff847dbcb70a624e944f9 --- doc/source/conf.py | 6 +++--- test-requirements.txt | 1 + 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/doc/source/conf.py b/doc/source/conf.py index 0857783a..23aa050c 100755 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -21,9 +21,9 @@ sys.path.insert(0, os.path.abspath('../..')) # 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.autodoc', #'sphinx.ext.intersphinx', - #'oslo.sphinx' + 'oslosphinx' ] # autodoc generation is a bit aggressive and a nuisance when doing heavy @@ -55,7 +55,7 @@ pygments_style = 'sphinx' # The theme to use for HTML and HTML Help pages. Major themes that come with # Sphinx are currently 'default' and 'sphinxdoc'. # html_theme_path = ["."] -html_theme = 'default' +# html_theme = 'default' # html_static_path = ['static'] # Output file base name for HTML help builder. diff --git a/test-requirements.txt b/test-requirements.txt index b4501f37..687350a8 100644 --- a/test-requirements.txt +++ b/test-requirements.txt @@ -3,6 +3,7 @@ coverage>=3.6 discover fixtures>=0.3.14 oslotest>=1.2.0 # Apache-2.0 +oslosphinx>=2.5.0 # Apache-2.0 python-subunit sphinx>=1.1.2 testrepository>=0.0.17