Skip to content

Commit 4c7ad9e

Browse files
authored
Merge pull request #643 from stackhpc/zed-upgrade-docs
docs: Add upgrading page
2 parents 813673a + a02f3be commit 4c7ad9e

File tree

5 files changed

+938
-1
lines changed

5 files changed

+938
-1
lines changed

doc/requirements.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,4 @@
55
reno>=3.4.0 # Apache-2.0
66
sphinx>=4.2.0 # BSD
77
sphinxcontrib-svg2pdfconverter>=0.1.0 # BSD
8+
Sphinx-Substitution-Extensions # Apache-2.0

doc/source/conf.py

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,16 +29,19 @@
2929
# -- StackHPC Kayobe configuration --------------------------------------
3030
# Variables to override
3131

32+
previous_series = "yoga"
3233
current_series = "zed"
3334
branch = f"stackhpc/{current_series}"
3435

3536
# Substitutions loader
36-
rst_epilog = """
37+
rst_prolog = """
3738
.. |current_release| replace:: {current_release}
3839
.. |current_release_git_branch_name| replace:: {current_release_git_branch_name}
40+
.. |previous_release| replace:: {previous_release}
3941
""".format( # noqa: E501
4042
current_release_git_branch_name=branch,
4143
current_release=current_series,
44+
previous_release=previous_series,
4245
)
4346

4447
# -- General configuration ----------------------------------------------------
@@ -51,6 +54,7 @@
5154
'sphinx.ext.extlinks',
5255
#'sphinx.ext.intersphinx',
5356
'sphinxcontrib.rsvgconverter',
57+
'sphinx_substitution_extensions',
5458
]
5559

5660
# autodoc generation is a bit aggressive and a nuisance when doing heavy
@@ -118,3 +122,6 @@
118122
f"{project}-doc": (f"https://docs.openstack.org/{project}/{current_series}/", "%s documentation")
119123
for project in extlinks_projects
120124
}
125+
extlinks["skc-doc"] = (f"https://stackhpc-kayobe-config.readthedocs.io/en/stackhpc-{current_series}/", "%s documentation")
126+
extlinks["kayobe-renos"] = (f"https://docs.openstack.org/releasenotes/kayobe/{current_series}.html", "%s release notes")
127+
extlinks["kolla-ansible-renos"] = (f"https://docs.openstack.org/releasenotes/kolla-ansible/{current_series}.html", "%s release notes")

doc/source/configuration/wazuh.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -302,6 +302,8 @@ Encrypt the keys (and remember to commit to git):
302302

303303
``ansible-vault encrypt --vault-password-file ~/vault.pass $KAYOBE_CONFIG_PATH/ansible/wazuh/certificates/certs/*.key``
304304

305+
.. _wazuh-verification:
306+
305307
Verification
306308
------------
307309

doc/source/operations/index.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ This guide is for operators of the StackHPC Kayobe configuration project.
77
.. toctree::
88
:maxdepth: 1
99

10+
upgrading
1011
rabbitmq
1112
octavia
1213
hotfix-playbook

0 commit comments

Comments
 (0)