@register.function
@jinja2.contextfunction
def docs_page_title(context, title=None):
 devhub = _('Add-on Documentation :: Developer Hub')
 title = (('%s :: %s' % (title, devhub)) if title else devhub)
 return page_title(context, title)

@ register . function @ jinja2 . contextfunction def docs_page_title ( context , title = None ) : devhub = _ ( 'Add-on Documentation :: Developer Hub' ) title = ( ( '%s :: %s' % ( title , devhub ) ) if title else devhub ) return page_title ( context , title )
wrapper for docs page titles .