def html_docs():
 paths_to_try = ((u'html', u'index.html'), (u'_build', u'html', u'index.html'))
 for paths in paths_to_try:
  docdir = doc(*paths)
  if core.exists(docdir):
   return docdir
 return doc(u'git-cola.rst')

def html_docs ( ) : paths_to_try = ( ( u'html' , u'index.html' ) , ( u'_build' , u'html' , u'index.html' ) ) for paths in paths_to_try : docdir = doc ( * paths ) if core . exists ( docdir ) : return docdir return doc ( u'git-cola.rst' )
return the path to the cola html documentation .