code: def get_admonition(cssclass, title, text):
      
      rst = ("\n\n.. admonition:: " + title + "\n") if title else "\n\n.. note:: \n"
      rst += "\t:class: alert alert-" + cssclass + "\n\n"
      for line in text.splitlines():
          rst += "\t" + line + "\n"
  
      rst += "\n"
      return rst
docs: Generates rst admonition block given a bootstrap alert css class, title, and text