mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
Merge pull request #2112 from SchrodingersGat/docs-link-fix
Fix docs link for release versions
This commit is contained in:
commit
c2d33588d0
@ -108,7 +108,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"
|
||||
|
||||
"""
|
||||
|
||||
@ -117,7 +117,7 @@ def inventreeDocsVersion():
|
||||
else:
|
||||
major, minor, patch = inventreeVersionTuple()
|
||||
|
||||
return f"{major}.{minor}"
|
||||
return f"{major}.{minor}.{patch}"
|
||||
|
||||
|
||||
def isInvenTreeUpToDate():
|
||||
|
Loading…
Reference in New Issue
Block a user