Add api-ref and relnotes publish jobs

* Add pointers in the main doc to api-ref and releasenotes pages
* Add publish-stx-api-ref and publish-stx-releasenotes jobs
* Add search at bottom of api-ref and relnotes pages to trigger the jobs
* Change the default themes to alabaster

Change-Id: Ied2bb5738cb04c539995850810064b03ca937862
Signed-off-by: Dean Troyer <dtroyer@gmail.com>
This commit is contained in:
Dean Troyer 2018-10-12 15:18:15 -05:00
parent e41465e317
commit 286deaf2aa
5 changed files with 30 additions and 1 deletions

View File

@ -16,7 +16,9 @@
- stx-updates-pylint
post:
jobs:
- publish-stx-api-ref
- publish-stx-tox
- publish-stx-releasenotes
- job:
name: stx-updates-pylint

View File

@ -20,7 +20,7 @@ extensions = [
'os_api_ref',
]
html_theme = 'openstackdocs'
html_theme = 'alabaster'
html_theme_options = {
"sidebar_dropdown": "api_ref",

View File

@ -6,3 +6,8 @@ StarlingX Installation/Update/Patching/Backup/Restore
.. toctree::
:maxdepth: 2
Search
------
:ref:`search`

View File

@ -7,6 +7,22 @@ StarlingX Installation/Update/Patching/Backup/Restore
:maxdepth: 2
:caption: Contents:
Release Notes
-------------
.. toctree::
:maxdepth: 1
Release Notes <https://docs.starlingx.io/releasenotes/stx-update>
API Reference
-------------
.. toctree::
:maxdepth: 1
API Reference <https://docs.starlingx.io/api-ref/stx-update>
Links
=====

View File

@ -1,3 +1,4 @@
========================
stx-update Release Notes
========================
@ -5,3 +6,8 @@ stx-update Release Notes
:maxdepth: 2
unreleased
Search
------
:ref:`search`