code: def add_item(self, item):
          
          if item.get_type() == ebooklib.ITEM_STYLE:
              self.add_link(href=item.get_name(), rel='stylesheet', type='text/css')
  
          if item.get_type() == ebooklib.ITEM_SCRIPT:
              self.add_link(src=item.get_name(), type='text/javascript')
docs: Add other item to this document. It will create additional links according to the item type.
  
          :Args:
            - item: item we want to add defined as instance of EpubItem