From 754e576cb37d12bfd8ef6d994fae5d85994d18b5 Mon Sep 17 00:00:00 2001 From: Dean Troyer Date: Sat, 6 Oct 2018 14:34:47 -0500 Subject: [PATCH] Add publish job for docs Also set the theme to alabaster until starlingxdocs is ready Change-Id: Iccf80cf54075925752a3c3773ba7ccba0c47aed3 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 4be98948..fdad148c 100644 --- a/.zuul.yaml +++ b/.zuul.yaml @@ -20,6 +20,9 @@ - nfv-tox-pylint - nova-api-proxy-tox-pep8 - nova-api-proxy-tox-pylint + post: + jobs: + - publish-stx-tox - job: name: nfv-tox-py27 diff --git a/doc/source/conf.py b/doc/source/conf.py index 7185f09a..091ed23d 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 acc8c061..1801c325 100644 --- a/doc/source/index.rst +++ b/doc/source/index.rst @@ -7,9 +7,19 @@ StarlingX NFVI Orchestration :maxdepth: 2 :caption: Contents: +Links +===== +* Source: `stx-nfv`_ +* Code Review: `Gerrit`_ +* Bugs: `Storyboard`_ -Indices and tables +.. _stx-nfv: https://git.starlingx.io/cgit/stx-nfv/ +.. _Gerrit: https://review.openstack.org/#/q/project:openstack/stx-nfv +.. _Storyboard: https://storyboard.openstack.org/#!/project/openstack/stx-nfv + +Indices and Tables ================== * :ref:`search` +* :ref:`genindex` diff --git a/releasenotes/source/conf.py b/releasenotes/source/conf.py index e880db29..2ed452d5 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