mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
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:
parent
6706d6c768
commit
5b94e24af1
@ -104,7 +104,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"
|
||||
|
||||
"""
|
||||
|
||||
@ -113,7 +113,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