code: def setup(app):
      """Required Sphinx extension setup function."""
      app.connect("html-page-context", html_page_context)
      app.connect("build-finished", build_finished)
      app.sitemap_links = set()
  
      return PARALLEL_SAFE
  
file_path: bokeh/src/bokeh/sphinxext/bokeh_sitemap.py
imports: from __future__ import annotations
  import logging
  from html import escape
  from os.path import join
  from sphinx.errors import SphinxError
  from sphinx.util.display import status_iterator
  from .None import PARALLEL_SAFE
label_desc: Use image node_id 3 for calling a global function with example usage: setup(app) and returns: PARALLEL_SAFE