code: def setup(app):
      app.connect("build-finished", copy_legacy_redirects)
  
imports: from __future__ import annotations
  import os
  import sys
  import sphinx_autosummary_accessors
label_desc: Use image node_id 2 for calling a global function with example usage: setup(app) without return types