@register.filter
def docs_url(path_name):
 return get_docs_url(path_name)

@ register . filter def docs_url ( path_name ) : return get_docs_url ( path_name )
returns the absolute url to path_name in the rtd docs .