#NEWLINE# def get_documentation( view , tag_name , file_path , tag_info ) : #NEWLINE# #INDENT# custom_tag_doc = dict ( STYLES ) #NEWLINE# custom_tag_doc [ 'links' ] = [ ] #NEWLINE# custom_tag_doc [ 'header' ] = tag_name #NEWLINE# custom_tag_doc [ 'description' ] = ( ( '<strong>path</strong>: <a class="alt-link" href="__go_to_customtag">' + file_path ) + '</a>' ) #NEWLINE# custom_tag_doc [ 'body' ] = '<br>' #NEWLINE# custom_tag_doc [ 'body' ] += ( ( '<strong>Closing tag:</strong> ' + ( 'true' if tag_info [ 'has_end_tag' ] else 'false' ) ) + '<br>' ) #NEWLINE# custom_tag_doc [ 'body' ] += ( '<strong>Attributes:</strong> ' + ', ' . join ( callback [ 'attributes' ] ) ) #NEWLINE# callback = partial ( on_navigate , view , file_path ) #NEWLINE# return ( custom_tag_doc , callback )