code: def add_library(self, name):
          
          libdoc = LibraryDocumentation(name)
          if len(libdoc.keywords) > 0:
              # FIXME: figure out the path to the library file
              collection_id = self.add_collection(None, libdoc.name, libdoc.type,
                                                  libdoc.doc, libdoc.version,
                                                  libdoc.scope, libdoc.named_args,
                                                  libdoc.doc_format)
              self._load_keywords(collection_id, libdoc=libdoc)
docs: Add a library to the database
  
          This method is for adding a library by name (eg: "BuiltIn")
          rather than by a file.