Browse Source

Add publish job for docs

Also set the theme to alabaster until starlingxdocs is ready

Change-Id: I64b705d8f7f5236c0a6cf9a5da347a10eb71fe16
Signed-off-by: Dean Troyer <dtroyer@gmail.com>
Dean Troyer 6 months ago
parent
commit
4b2560dee0
4 changed files with 19 additions and 5 deletions
  1. 3
    0
      .zuul.yaml
  2. 4
    3
      doc/source/conf.py
  3. 11
    1
      doc/source/index.rst
  4. 1
    1
      releasenotes/source/conf.py

+ 3
- 0
.zuul.yaml View File

@@ -12,3 +12,6 @@
12 12
         - build-openstack-releasenotes
13 13
         - openstack-tox-linters
14 14
         - openstack-tox-pep8
15
+    post:
16
+      jobs:
17
+        - publish-stx-tox

+ 4
- 3
doc/source/conf.py View File

@@ -42,8 +42,9 @@ release = u'0.1'
42 42
 # Add any Sphinx extension module names here, as strings. They can be
43 43
 # extensions coming with Sphinx (named 'sphinx.ext.*') or your custom
44 44
 # ones.
45
-extensions = ['openstackdocstheme'
46
-              ]
45
+extensions = [
46
+    'openstackdocstheme',
47
+]
47 48
 
48 49
 # Add any paths that contain templates here, relative to this directory.
49 50
 templates_path = ['_templates']
@@ -81,7 +82,7 @@ pygments_style = 'sphinx'
81 82
 # The theme to use for HTML and HTML Help pages.  See the documentation for
82 83
 # a list of builtin themes.
83 84
 #
84
-html_theme = 'openstackdocs'
85
+html_theme = 'alabaster'
85 86
 
86 87
 # Theme options are theme-specific and customize the look and feel of a theme
87 88
 # further.  For a list of options available for each theme, see the

+ 11
- 1
doc/source/index.rst View File

@@ -7,9 +7,19 @@ StarlingX Client Libraries
7 7
    :maxdepth: 2
8 8
    :caption: Contents:
9 9
 
10
+Links
11
+=====
10 12
 
13
+* Source: `stx-clients`_
14
+* Code Review: `Gerrit`_
15
+* Bugs: `Storyboard`_
11 16
 
12
-Indices and tables
17
+.. _stx-clients: https://git.starlingx.io/cgit/stx-clients/
18
+.. _Gerrit: https://review.openstack.org/#/q/project:openstack/stx-clients
19
+.. _Storyboard: https://storyboard.openstack.org/#!/project/openstack/stx-clients
20
+
21
+Indices and Tables
13 22
 ==================
14 23
 
15 24
 * :ref:`search`
25
+* :ref:`genindex`

+ 1
- 1
releasenotes/source/conf.py View File

@@ -93,7 +93,7 @@ pygments_style = 'sphinx'
93 93
 
94 94
 # The theme to use for HTML and HTML Help pages.  See the documentation for
95 95
 # a list of builtin themes.
96
-html_theme = 'openstackdocs'
96
+html_theme = 'alabaster'
97 97
 
98 98
 # Theme options are theme-specific and customize the look and feel of a theme
99 99
 # further.  For a list of options available for each theme, see the

Loading…
Cancel
Save