code: def setup(app):
      app.add_directive("cardlinkitem", CustomCardItemDirective)
  
file_path: nni/docs/extension/cardlinkitem.py
imports: import os
  from docutils.parsers.rst import Directive, directives
  from docutils.statemachine import StringList
  from docutils import nodes
  from sphinx.addnodes import pending_xref
label_desc: Use image node_id 1 for calling a global function with example usage: setup(app) without return types