Switch to openstackdocstheme

As part of the docs migration work for Pike we need to switch to use the
openstackdocstheme.

Change-Id: I281a5b9866f18c22451d2c0d5232daa0703eb156
This commit is contained in:
Alex Schultz
2017-06-23 11:43:16 -06:00
parent c4d2008384
commit f8e9b27e35
2 changed files with 5 additions and 6 deletions

View File

@@ -12,6 +12,7 @@
import datetime
import sys
import os
import openstackdocstheme
from jinja2.utils import Markup
@@ -29,9 +30,7 @@ from jinja2.utils import Markup
# coming with Sphinx (named 'sphinx.ext.*') or your custom ones.
extensions = ['sphinx.ext.autodoc',
'sphinx.ext.todo',
'sphinx.ext.viewcode',
'oslosphinx'
]
'sphinx.ext.viewcode', ]
todo_include_todos = True
@@ -95,7 +94,7 @@ man_pages = []
# The theme to use for HTML and HTML Help pages. See the documentation for
# a list of builtin themes.
html_theme = 'nature'
html_theme = 'openstackdocs'
# 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
@@ -103,7 +102,7 @@ html_theme = 'nature'
#html_theme_options = {}
# Add any paths that contain custom themes here, relative to this directory.
#html_theme_path = []
html_theme_path = [openstackdocstheme.get_html_theme_path()]
# The name for this set of Sphinx documents. If None, it defaults to
# "<project> v<release> documentation".

View File

@@ -1,3 +1,3 @@
sphinx>=1.1.2,!=1.2.0,!=1.3b1,<1.3 # BSD
oslosphinx>=2.5.0,!=3.4.0 # Apache-2.0
openstackdocstheme>=1.5.0 # Apache-2.0
pbr>=1.6 # Apache-2.0