2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-04-30 04:26:44 +00:00

Merge pull request #2112 from SchrodingersGat/docs-link-fix

Fix docs link for release versions

(cherry picked from commit c2d33588d048763a77035b6681a2e879fbefc866)
This commit is contained in:
Oliver 2021-10-06 20:52:34 +11:00
parent f6bcee06cb
commit ca0caa3d2b

View File

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