mirror of
https://github.com/inventree/InvenTree.git
synced 2025-06-15 03:25:42 +00:00
Merge pull request #2135 from SchrodingersGat/docs-fix-fix
re-simplify the documentation URL
This commit is contained in:
@ -301,7 +301,9 @@ def send_email(subject, body, recipients, from_email=None):
|
||||
|
||||
offload_task(
|
||||
'django.core.mail.send_mail',
|
||||
subject, body,
|
||||
subject,
|
||||
body,
|
||||
from_email,
|
||||
recipients,
|
||||
fail_silently=False,
|
||||
)
|
||||
|
@ -11,11 +11,6 @@ import common.models
|
||||
# InvenTree software version
|
||||
INVENTREE_SW_VERSION = "0.6.0 dev"
|
||||
|
||||
# InvenTree documentation version
|
||||
# For 'dev' branch this must read "latest"
|
||||
# For 'stable' branch this must match INVENTREE_SW_VERSION
|
||||
INVENTREE_DOCS_VERSION = "latest"
|
||||
|
||||
# InvenTree API version
|
||||
INVENTREE_API_VERSION = 15
|
||||
|
||||
@ -119,7 +114,10 @@ def inventreeDocsVersion():
|
||||
|
||||
"""
|
||||
|
||||
return INVENTREE_DOCS_VERSION
|
||||
if isInvenTreeDevelopmentVersion():
|
||||
return "latest"
|
||||
else:
|
||||
return INVENTREE_SW_VERSION
|
||||
|
||||
|
||||
def isInvenTreeUpToDate():
|
||||
|
Reference in New Issue
Block a user