Switch from oslosphinx to openstackdocstheme

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

[0]https://review.openstack.org/#/c/472275/

Change-Id: I66ea11e32ec9736e2376027863723c19c07a32fb
This commit is contained in:
ZhongShengping 2017-06-26 14:42:35 +08:00
parent 30af08208d
commit 2869a79ec8
1 changed files with 5 additions and 4 deletions

View File

@ -23,6 +23,9 @@
# All configuration values have a default; values that are commented out
# serve to show the default.
import openstackdocstheme
import pbr.version
# If extensions (or modules to document with autodoc) are in another directory,
# add these directories to sys.path here. If the directory is relative to the
# documentation root, use os.path.abspath to make it absolute, like shown here.
@ -37,7 +40,6 @@
# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom
# ones.
extensions = [
'oslosphinx',
'reno.sphinxext',
]
@ -62,7 +64,6 @@ copyright = u'2015, OpenStack-Ansible Developers'
# built documents.
#
# The short X.Y version.
import pbr.version
version_info = pbr.version.VersionInfo('openstack-ansible-plugins')
# The full version, including alpha/beta/rc tags.
release = version_info.version_string_with_vcs()
@ -112,7 +113,7 @@ 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 = '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
@ -120,7 +121,7 @@ html_theme = 'default'
# 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".