code: def setup(app):
      app.add_directive("query-param-ref", URLQueryParamRefDirective)
      app.connect("doctree-resolved", on_doctree_resolved)
      app.add_node(
          WrapperNode, html=(WrapperNode.visit, WrapperNode.depart)
      )
      return {
          "version": "0.1",
          "parallel_read_safe": True,
          "parallel_write_safe": True,
      }
  
file_path: ray/doc/source/_ext/queryparamrefs.py
imports: from docutils import nodes
  from docutils.parsers.rst import directives
  from sphinx.util.docutils import SphinxDirective
label_desc: Use image node_id 2 for calling a global function with example usage: setup(app) and returns: dict