From bbeaeb461aab55dfd9c503d02c4a2d3dcf0bd817 Mon Sep 17 00:00:00 2001 From: Emilien Macchi Date: Fri, 23 Jun 2017 14:01:52 -0400 Subject: [PATCH] Switch to openstackdocstheme As part of the docs migration work for Pike we need to switch to use the openstackdocstheme. Change-Id: Ibefe3438259d4d7dc30760779a3c24e40a2413ec --- doc/source/conf.py | 8 +++++++- requirements.txt | 1 + 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/doc/source/conf.py b/doc/source/conf.py index 745f26a5..ee92ea1b 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -10,7 +10,7 @@ # serve to show the default. import sys, os -import sphinx_rtd_theme +import openstackdocstheme # 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 @@ -99,6 +99,12 @@ templates_path = ['../../_templates'] # Output file base name for HTML help builder. htmlhelp_basename = '%sdoc' % project +# The theme to use for HTML and HTML Help pages. See the documentation for +# a list of builtin themes. +html_theme = 'openstackdocs' + +# Add any paths that contain custom themes here, relative to this directory. +html_theme_path = [openstackdocstheme.get_html_theme_path()] # -- Options for LaTeX output -------------------------------------------------- diff --git a/requirements.txt b/requirements.txt index 9dbc0110..664f562b 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,3 +1,4 @@ # The order of packages is significant, because pip processes them in the order # of appearance. Changing the order has an impact on the overall integration # process, which may cause wedges in the gate later. +openstackdocstheme>=1.5.0 # Apache-2.0