mirror of
https://github.com/inventree/InvenTree.git
synced 2025-06-17 04:25:42 +00:00
Merge pull request #2112 from SchrodingersGat/docs-link-fix
Fix docs link for release versions
(cherry picked from commit c2d33588d0
)
This commit is contained in:
@ -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():
|
||||
|
Reference in New Issue
Block a user