From 2c5510c40997cb1c2bd82e11f3cbcfeb95418bb6 Mon Sep 17 00:00:00 2001 From: Emilien Macchi Date: Tue, 27 Jun 2017 16:36:45 -0400 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: I94aadd9514aa95e885517d9a5aae8efcc379791f --- releasenotes/source/conf.py | 11 ++++++++--- test-requirements.txt | 4 ++-- 2 files changed, 10 insertions(+), 5 deletions(-) diff --git a/releasenotes/source/conf.py b/releasenotes/source/conf.py index d6e90348c..6d2936dc9 100644 --- a/releasenotes/source/conf.py +++ b/releasenotes/source/conf.py @@ -28,7 +28,7 @@ # extensions coming with Sphinx (named 'sphinx.ext.*') or your custom # ones. extensions = [ - 'oslosphinx', + 'openstackdocstheme', 'reno.sphinxext', ] @@ -102,7 +102,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 @@ -262,4 +262,9 @@ texinfo_documents = [ #texinfo_no_detailmenu = False # -- Options for Internationalization output ------------------------------ -locale_dirs = ['locale/'] \ No newline at end of file +locale_dirs = ['locale/'] + +# openstackdocstheme options +repository_name = 'openstack/tripleo-quickstart-extras' +bug_project = 'tripleo' +bug_tag = 'documentation' diff --git a/test-requirements.txt b/test-requirements.txt index 401dea45b..f19a4f557 100644 --- a/test-requirements.txt +++ b/test-requirements.txt @@ -1,8 +1,8 @@ +openstackdocstheme>=1.11.0 # Apache-2.0 hacking<0.11,>=0.10 bashate>=0.2 # Apache-2.0 ansible-lint -sphinx!=1.3b1,<1.4,>=1.2.1 # BSD -oslosphinx>=4.7.0 # Apache-2.0 +sphinx>=1.6.2 # BSD reno>=1.8.0 # Apache-2.0 jinja2