From 8270253c8bb3c42836bc80376669ce4add21ce92 Mon Sep 17 00:00:00 2001 From: Dean Troyer Date: Thu, 4 Oct 2018 17:17:40 -0500 Subject: [PATCH] Add publish job for docs Also set the theme to alabaster until starlingxdocs is ready Change-Id: I291bef8384bcbdb6bc419dee0de1b4bcb4e2894f Signed-off-by: Dean Troyer (cherry picked from commit d57fac03907233ed1806e834eea0fe79751d4bac) --- .zuul.yaml | 3 +++ doc/source/conf.py | 7 ++++--- doc/source/index.rst | 10 ++++++++++ releasenotes/source/conf.py | 2 +- 4 files changed, 18 insertions(+), 4 deletions(-) diff --git a/.zuul.yaml b/.zuul.yaml index 6c524d97..92aa4a06 100644 --- a/.zuul.yaml +++ b/.zuul.yaml @@ -10,3 +10,6 @@ jobs: - build-openstack-releasenotes - openstack-tox-linters + post: + jobs: + - publish-stx-tox diff --git a/doc/source/conf.py b/doc/source/conf.py index f637d48b..5bf9b05d 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -40,8 +40,9 @@ release = u'0.1' # Add any Sphinx extension module names here, as strings. They can be # extensions coming with Sphinx (named 'sphinx.ext.*') or your custom # ones. -extensions = ['openstackdocstheme' - ] +extensions = [ + 'openstackdocstheme', +] # Add any paths that contain templates here, relative to this directory. templates_path = ['_templates'] @@ -79,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 = 'openstackdocs' +html_theme = 'alabaster' # 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/doc/source/index.rst b/doc/source/index.rst index 47551a29..e19b5dce 100644 --- a/doc/source/index.rst +++ b/doc/source/index.rst @@ -7,9 +7,19 @@ StarlingX Build Tools :maxdepth: 2 :caption: Contents: +Links +===== +* Source: `stx-tools`_ +* Code Review: `Gerrit`_ +* Bugs: `Storyboard`_ + +.. _stx-tools: https://git.starlingx.io/cgit/stx-tools/ +.. _Gerrit: https://review.openstack.org/#/q/project:openstack/stx-tools +.. _Storyboard: https://storyboard.openstack.org/#!/project/1027 Indices and tables ================== * :ref:`search` +* :ref:`genindex` diff --git a/releasenotes/source/conf.py b/releasenotes/source/conf.py index 764221de..e9ffe861 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 = 'openstackdocs' +html_theme = 'alabaster' # 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