#NEWLINE# def document_collections( self , section ) : #NEWLINE# #INDENT# collections = self . _resource . meta . resource_model . collections #NEWLINE# collections_list = [ ] #NEWLINE# add_resource_type_overview ( section = section , resource_type = 'Collections' , description = 'Collections provide an interface to iterate over and manipulate groups of resources. ' , intro_link = 'guide_collections' ) #NEWLINE# self . member_map [ 'collections' ] = collections_list #NEWLINE# for collection in collections : #NEWLINE# #INDENT# collection_section = section . add_new_section ( collection . name ) #NEWLINE# collections_list . append ( collection . name ) #NEWLINE# self . _document_collection ( collection_section , collection )