Docs: PING_URL substitution got lost during refactoring, adding it back

This commit is contained in:
Pēteris Caune 2020-03-23 12:01:40 +02:00
parent da4cf5241e
commit abebdca527
No known key found for this signature in database
GPG Key ID: E28D7679E9A9EDE2

View File

@ -282,6 +282,7 @@ def serve_doc(request, doc="introduction"):
"SITE_NAME": settings.SITE_NAME,
"SITE_ROOT": settings.SITE_ROOT,
"PING_ENDPOINT": settings.PING_ENDPOINT,
"PING_URL": settings.PING_ENDPOINT + "your-uuid-here",
"IMG_URL": os.path.join(settings.STATIC_URL, "img/docs"),
}