code: def generate_tutorials_links() -> str:
      """
      Generate links to the tutorials
  
      Returns
      -------
      :
          Links to tutorial pages in markdown format.
      """
      notebooks = [
          p for p in THIS_DIR.glob("*.ipynb") if p.stem != "index"
      ]
      link_titles_and_paths = [
          (get_tutorial_title(f), f.relative_to(THIS_DIR))
          for f in notebooks
      ]
      links = [Link(t, str(p)) for t, p in link_titles_and_paths]
      return str(BulletList(links))
  
imports: import itertools
  from pathlib import Path
  import nbformat
  from quartodoc.pandoc.blocks import BulletList
  from quartodoc.pandoc.inlines import Link
label_desc: Use image node_id 2 for calling a global function with example usage: generate_tutorials_links() and returns: str