code: def setup(app):
      app.add_directive("autoautosummary", AutoAutoSummary)
      app.connect("build-finished", copy_legacy_redirects)
  
file_path: distributed/docs/source/conf.py
imports: from __future__ import annotations
  from docutils.parsers.rst import directives
  from sphinx.ext.autosummary import Autosummary, get_documenter
  from sphinx.util.inspect import safe_getattr
  import distributed
label_desc: Use image node_id 2 for calling a global function with example usage: setup(app) without return types