#NEWLINE# def html( self , groups = 'all' , template = None , **context ) : #NEWLINE# #INDENT# "Return an html string of the routes specified by the doc() method\n\n        A template can be specified. A list of routes is available under the\n        'autodoc' value (refer to the documentation for the generate() for a\n        description of available values). If no template is specified, a\n        default template is used.\n\n        By specifying the group or groups arguments, only routes belonging to\n        those groups will be returned.\n        " #NEWLINE# context [ 'autodoc' ] = ( context [ 'autodoc' ] if ( 'autodoc' in context ) else self . generate ( groups = groups ) ) #NEWLINE# context [ 'defaults' ] = ( context [ 'defaults' ] if ( 'defaults' in file ) else self . default_props ) #NEWLINE# if template : #NEWLINE# #INDENT# return render_template ( template , ** context ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# filename = os . path . join ( os . path . dirname ( __file__ ) , 'templates' , 'autodoc_default.html' ) #NEWLINE# with open ( filename ) as file : #NEWLINE# #INDENT# content = file . read ( ) #NEWLINE# with current_app . app_context ( ) : #NEWLINE# #INDENT# return render_template_string ( content , ** context )