mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Update latest_version in doc/conf.py to include .0
This commit is contained in:
parent
c63f91e262
commit
4b209e3ee3
2 changed files with 6 additions and 2 deletions
|
@ -55,9 +55,13 @@ on_saltstack = "SALT_ON_SALTSTACK" in os.environ
|
|||
project = "Salt"
|
||||
# This is the default branch on GitHub for the Salt project
|
||||
repo_primary_branch = "master"
|
||||
major_version = str(salt.version.__saltstack_version__.major)
|
||||
latest_release = major_version
|
||||
if salt.version.__saltstack_version__.can_have_dot_zero(major_version):
|
||||
latest_release = ".".join([str(x) for x in salt.version.__saltstack_version__.info])
|
||||
latest_release = (
|
||||
# Use next unreleased version if LATEST_RELEASE is undefined env var
|
||||
os.environ.get("LATEST_RELEASE", str(salt.version.__saltstack_version__.major))
|
||||
os.environ.get("LATEST_RELEASE", latest_release)
|
||||
) # latest release (3003)
|
||||
previous_release = os.environ.get(
|
||||
"PREVIOUS_RELEASE", "previous_release"
|
||||
|
|
|
@ -44,7 +44,7 @@ Upcoming Release
|
|||
:maxdepth: 1
|
||||
:glob:
|
||||
|
||||
3006*
|
||||
3006.0*
|
||||
|
||||
.. seealso:: :ref:`Legacy salt-cloud release docs <legacy-salt-cloud-release-notes>`
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue