code: def setup(app: Sphinx):
      # Hook to allow for automatic generation of API docs
      # before doc deployment begins.
      app.add_transform(GenerateTagLinks)
      app.connect("builder-inited", generate_apidocs)
  
file_path: MONAILabel/docs/source/conf.py
imports: import os
  import re
  import subprocess
  import sys
  from docutils.nodes import Text, reference
  from sphinx.application import Sphinx
  from sphinx.transforms import SphinxTransform
  import monailabel
label_desc: Use image node_id 2 for calling a global function with example usage: setup(app) without return types