@register.assignment_tag
def doc_url(page, anchor=u''):
 return weblate.get_doc_url(page, anchor)

@ register . assignment_tag def doc_url ( page , anchor = u'' ) : return weblate . get_doc_url ( page , anchor )
returns link to weblate documentation .