Browse Source

Add publish job for docs

Also set the theme to alabaster until starlingxdocs is ready

Change-Id: I538f2f6ceda9b4401308b3daf9722ffe2e64cf11
Signed-off-by: Dean Troyer <dtroyer@gmail.com>
Dean Troyer 6 months ago
parent
commit
6a82dc05b0
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

@@ -24,6 +24,9 @@
24 24
         - controllerconfig-tox-py27
25 25
         - controllerconfig-tox-pylint
26 26
         - configutilities-tox-flake8
27
+    post:
28
+      jobs:
29
+        - publish-stx-tox
27 30
 
28 31
 - job:
29 32
     name: sysinv-tox-py27

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

@@ -40,8 +40,9 @@ release = u'0.1'
40 40
 # Add any Sphinx extension module names here, as strings. They can be
41 41
 # extensions coming with Sphinx (named 'sphinx.ext.*') or your custom
42 42
 # ones.
43
-extensions = ['openstackdocstheme'
44
-              ]
43
+extensions = [
44
+    'openstackdocstheme',
45
+]
45 46
 
46 47
 # Add any paths that contain templates here, relative to this directory.
47 48
 templates_path = ['_templates']
@@ -79,7 +80,7 @@ pygments_style = 'sphinx'
79 80
 # The theme to use for HTML and HTML Help pages.  See the documentation for
80 81
 # a list of builtin themes.
81 82
 #
82
-html_theme = 'openstackdocs'
83
+html_theme = 'alabaster'
83 84
 
84 85
 # Theme options are theme-specific and customize the look and feel of a theme
85 86
 # 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 System Configuration Management
7 7
    :maxdepth: 2
8 8
    :caption: Contents:
9 9
 
10
+Links
11
+=====
10 12
 
13
+* Source: `stx-config`_
14
+* Code Review: `Gerrit`_
15
+* Bugs: `Storyboard`_
11 16
 
12
-Indices and tables
17
+.. _stx-config: https://git.starlingx.io/cgit/stx-config/
18
+.. _Gerrit: https://review.openstack.org/#/q/project:openstack/stx-config
19
+.. _Storyboard: https://storyboard.openstack.org/#!/project/openstack/stx-config
20
+
21
+Indices and Tables
13 22
 ==================
14 23
 
15 24
 * :ref:`search`
25
+* :ref:`genindex`

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

@@ -103,7 +103,7 @@ pygments_style = 'sphinx'
103 103
 
104 104
 # The theme to use for HTML and HTML Help pages.  See the documentation for
105 105
 # a list of builtin themes.
106
-html_theme = 'openstackdocs'
106
+html_theme = 'alabaster'
107 107
 
108 108
 # Theme options are theme-specific and customize the look and feel of a theme
109 109
 # further.  For a list of options available for each theme, see the

Loading…
Cancel
Save