Fix docs link for release versions

- Use full x.y.z format
- Requires a docs release for every code relesase
This commit is contained in:
Oliver 2021-10-06 20:23:42 +11:00
parent 6706d6c768
commit 5b94e24af1

View File

@ -104,7 +104,7 @@ def inventreeDocsVersion():
Return the version string matching the latest documentation. Return the version string matching the latest documentation.
Development -> "latest" Development -> "latest"
Release -> "major.minor" Release -> "major.minor.sub" e.g. "0.5.2"
""" """
@ -113,7 +113,7 @@ def inventreeDocsVersion():
else: else:
major, minor, patch = inventreeVersionTuple() major, minor, patch = inventreeVersionTuple()
return f"{major}.{minor}" return f"{major}.{minor}.{patch}"
def isInvenTreeUpToDate(): def isInvenTreeUpToDate():