From 5b01572a60f2bc99b004d0dfe7c503cc101e4586 Mon Sep 17 00:00:00 2001 From: Abraham Arce Date: Thu, 18 Oct 2018 07:11:56 -0500 Subject: [PATCH] [Doc] openstackdocstheme starlingxdocs theme Enable starlingxdocs theme support for: - Documentation - Release Notes - API Reference Add zuul check and gate job: - build-openstack-api-ref Change-Id: I33252608b94b08b2e70511a76744b82c2d0fc937 Signed-off-by: Abraham Arce --- .zuul.yaml | 2 ++ api-ref/source/conf.py | 2 +- doc/requirements.txt | 2 +- doc/source/conf.py | 2 +- releasenotes/source/conf.py | 2 +- 5 files changed, 6 insertions(+), 4 deletions(-) diff --git a/.zuul.yaml b/.zuul.yaml index 3904b10e4..c1388b85f 100644 --- a/.zuul.yaml +++ b/.zuul.yaml @@ -4,12 +4,14 @@ - build-openstack-docs-pti check: jobs: + - build-openstack-api-ref - build-openstack-releasenotes - openstack-tox-linters - openstack-tox-pep8: voting: false gate: jobs: + - build-openstack-api-ref - build-openstack-releasenotes - openstack-tox-linters post: diff --git a/api-ref/source/conf.py b/api-ref/source/conf.py index 3d2ead961..ff897d2b3 100644 --- a/api-ref/source/conf.py +++ b/api-ref/source/conf.py @@ -29,7 +29,7 @@ extensions = [ 'os_api_ref', ] -html_theme = 'openstackdocs' +html_theme = 'starlingxdocs' html_theme_options = { "sidebar_dropdown": "api_ref", diff --git a/doc/requirements.txt b/doc/requirements.txt index 0cbe78dcb..d197d454a 100644 --- a/doc/requirements.txt +++ b/doc/requirements.txt @@ -1,5 +1,5 @@ sphinx>=1.6.2 -openstackdocstheme>=1.19.0 # Apache-2.0 +openstackdocstheme>=1.26.0 # Apache-2.0 # Release Notes documentation reno>=0.1.1 # Apache2 diff --git a/doc/source/conf.py b/doc/source/conf.py index 39e65ad4c..afada6241 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -80,7 +80,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 = 'alabaster' +html_theme = 'starlingxdocs' # 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 diff --git a/releasenotes/source/conf.py b/releasenotes/source/conf.py index a6a249e81..d82cf338a 100644 --- a/releasenotes/source/conf.py +++ b/releasenotes/source/conf.py @@ -103,7 +103,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 = 'alabaster' +html_theme = 'starlingxdocs' # 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