#NEWLINE# def return_documentation( self , object_name , keyword ) : #NEWLINE# #INDENT# 'Returns the keyword documentation from the database.\n\n        ``object_name`` -- Library or resource object name.\n        ``keyword``     -- Keyword documentation to search from database.\n\n        Searches the keyword documentation from the database and\n        returns the keyword documentation if match is found.\n        ``object_name`` can be used to separate keywords\n        between the libraries that contains keyword with same name.\n\n        Always the first match is returned but using the ``object_name``\n        should guarantee that correct documentation is retrieved from\n        the database.\n        ' #NEWLINE# documentation = None #NEWLINE# table_name = self . get_table_name_from_index ( object_name , keyword ) #NEWLINE# if table_name : #NEWLINE# #INDENT# table_path = path . join ( documentation . table_dir , table_name ) #NEWLINE# documentation = self . get_keyword_documentation ( table_path , object_name , keyword ) #NEWLINE# #UNINDENT# return documentation