def get_doc_url(page, anchor=''):
 if ('-dev' in VERSION):
  version = 'latest'
 else:
  version = ('weblate-%s' % VERSION)
 url = ('https://docs.weblate.org/en/%s/%s.html' % (version, page))
 if (anchor != ''):
  url += ('#%s' % anchor)
 return url

def get_doc_url ( page , anchor = '' ) : if ( '-dev' in VERSION ) : version = 'latest' else : version = ( 'weblate-%s' % VERSION ) url = ( 'https://docs.weblate.org/en/%s/%s.html' % ( version , page ) ) if ( anchor != '' ) : url += ( '#%s' % anchor ) return url
return url to documentation .