From 8b963a2d9feac9bb575b97fc3a8fd4c35f709218 Mon Sep 17 00:00:00 2001 From: ZhongShengping Date: Mon, 26 Jun 2017 14:32:36 +0800 Subject: [PATCH] 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: Ic67811a029e4189f66bc85c6be874082870f682e --- releasenotes/source/conf.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/releasenotes/source/conf.py b/releasenotes/source/conf.py index e700b3a..95fd21c 100644 --- a/releasenotes/source/conf.py +++ b/releasenotes/source/conf.py @@ -22,6 +22,7 @@ # 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, @@ -38,7 +39,6 @@ import pbr.version # extensions coming with Sphinx (named 'sphinx.ext.*') or your custom # ones. extensions = [ - 'oslosphinx', 'reno.sphinxext', ] @@ -121,7 +121,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 @@ -129,7 +129,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 # " v documentation".