From db11b20ce4426ce26ee92801388dde30b5d36749 Mon Sep 17 00:00:00 2001 From: Dean Troyer Date: Sat, 6 Oct 2018 14:10:14 -0500 Subject: [PATCH] Add publish job for docs Also set the theme to alabaster until starlingxdocs is ready Change-Id: Ib61a6642e5a7f2122600958c6a6a8409c6ec3056 Signed-off-by: Dean Troyer --- .zuul.yaml | 3 +++ doc/source/conf.py | 7 ++++--- doc/source/index.rst | 12 +++++++++++- releasenotes/source/conf.py | 2 +- 4 files changed, 19 insertions(+), 5 deletions(-) diff --git a/.zuul.yaml b/.zuul.yaml index de350777..62f56d64 100644 --- a/.zuul.yaml +++ b/.zuul.yaml @@ -10,3 +10,6 @@ jobs: - build-openstack-releasenotes - openstack-tox-pep8 + post: + jobs: + - publish-stx-tox diff --git a/doc/source/conf.py b/doc/source/conf.py index 9229ba5f..26ec47d8 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -42,8 +42,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'] @@ -81,7 +82,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 acb07efd..415b8c79 100644 --- a/doc/source/index.rst +++ b/doc/source/index.rst @@ -7,9 +7,19 @@ StarlingX Horizon plugins for new StarlingX services :maxdepth: 2 :caption: Contents: +Links +===== +* Source: `stx-gui`_ +* Code Review: `Gerrit`_ +* Bugs: `Storyboard`_ -Indices and tables +.. _stx-gui: https://git.starlingx.io/cgit/stx-gui/ +.. _Gerrit: https://review.openstack.org/#/q/project:openstack/stx-gui +.. _Storyboard: https://storyboard.openstack.org/#!/project/openstack/stx-gui + +Indices and Tables ================== * :ref:`search` +* :ref:`genindex` diff --git a/releasenotes/source/conf.py b/releasenotes/source/conf.py index f6c20d65..a5a37f40 100644 --- a/releasenotes/source/conf.py +++ b/releasenotes/source/conf.py @@ -93,7 +93,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