Browse Source

Add publish job for docs

Also set the theme to alabaster until starlingxdocs is ready

Change-Id: I6a113b9fddb64792b5454b3ef0ef866ef9f74fc6
Signed-off-by: Dean Troyer <dtroyer@gmail.com>
changes/21/608421/1
Dean Troyer 3 years ago
parent
commit
6e8731e572
  1. 3
      .zuul.yaml
  2. 7
      doc/source/conf.py
  3. 12
      doc/source/index.rst
  4. 2
      releasenotes/source/conf.py

3
.zuul.yaml

@ -14,3 +14,6 @@
- build-openstack-releasenotes
- openstack-tox-linters
- openstack-tox-pep8
post:
jobs:
- publish-stx-tox

7
doc/source/conf.py

@ -38,8 +38,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']
@ -77,7 +78,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

12
doc/source/index.rst

@ -7,9 +7,19 @@ StarlingX Bare Metal and Node Management, Hardware Maintenance.
:maxdepth: 2
:caption: Contents:
Links
=====
* Source: `stx-metal`_
* Code Review: `Gerrit`_
* Bugs: `Storyboard`_
Indices and tables
.. _stx-metal: https://git.starlingx.io/cgit/stx-metal/
.. _Gerrit: https://review.openstack.org/#/q/project:openstack/stx-metal
.. _Storyboard: https://storyboard.openstack.org/#!/project/openstack/stx-metal
Indices and Tables
==================
* :ref:`search`
* :ref:`genindex`

2
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

Loading…
Cancel
Save