code: def setup(app, get_doc_object_=get_doc_object):
      global get_doc_object
      get_doc_object = get_doc_object_
  
      app.connect("autodoc-process-docstring", mangle_docstrings)
      app.connect("autodoc-process-signature", mangle_signature)
      app.add_config_value("numpydoc_edit_link", None, False)
      app.add_config_value("numpydoc_use_plots", None, False)
      app.add_config_value("numpydoc_show_class_members", True, True)
      app.add_config_value(
          "numpydoc_show_inherited_class_members", True, True
      )
      app.add_config_value("numpydoc_class_members_toctree", True, True)
      app.add_config_value("numpydoc_citation_re", "[a-z0-9_.-]+", True)
  
      # Extra mangling domains
      app.add_domain(NumpyPythonDomain)
      app.add_domain(NumpyCDomain)
  
      metadata = {"parallel_read_safe": True}
      return metadata
  
imports: from __future__ import division, absolute_import, print_function
  import sys
  import re
  import pydoc
  import sphinx
  import inspect
  import collections
  from .docscrape_sphinx import get_doc_object, SphinxDocString
  from docutils.statemachine import ViewList
  from sphinx.domains.c import CDomain
  from sphinx.domains.python import PythonDomain
label_desc: Use image node_id 4 for calling a global function with example usage: setup(app, get_doc_object_) and returns: metadata