code: def setup(app: Sphinx) -> Dict[str, Any]:
      app.add_builder(CoverageBuilder)
      app.add_config_value("coverage_additional_modules", [], False)
      app.add_config_value("coverage_ignore_modules", [], False)
      app.add_config_value("coverage_ignore_functions", [], False)
      app.add_config_value("coverage_ignore_classes", [], False)
      app.add_config_value("coverage_ignore_pyobjects", [], False)
      app.add_config_value("coverage_c_path", [], False)
      app.add_config_value("coverage_c_regexes", {}, False)
      app.add_config_value("coverage_ignore_c_items", {}, False)
      app.add_config_value("coverage_write_headline", True, False)
      app.add_config_value(
          "coverage_skip_undoc_in_source", False, False
      )
      app.add_config_value("coverage_show_missing_items", False, False)
      return {
          "version": sphinx.__display_version__,
          "parallel_read_safe": True,
      }
  
imports: import glob
  from importlib import import_module
  import inspect
  from os import path
  import pickle
  import re
  from typing import IO, Any, Dict, List, Pattern, Set, Tuple
  import sphinx
  from sphinx.application import Sphinx
  from sphinx.builders import Builder
  from sphinx.locale import __
  from sphinx.util import logging
  from sphinx.util.console import red
  from sphinx.util.inspect import safe_getattr
label_desc: Use image node_id 4 for calling a global function with example usage: setup(app) and returns: dict