code: def setup(app: Sphinx):
      app.connect("html-collect-pages", remove_index, 100)
  
imports: import os
  import sys
  from pathlib import Path
  from sphinx.application import Sphinx
label_desc: Use image node_id 2 for calling a global function with example usage: setup(app) without return types