code: def setup(app):
      def add_scripts(app):
          for fname in ["helper.js", "embed-bundle.js"]:
              if not os.path.exists(
                  os.path.join(here, "_static", fname)
              ):
                  logger.warning("missing javascript file: %s" % fname)
              app.add_js_file(fname)
  
      app.connect("builder-inited", add_scripts)
  
imports: import sys
  from os.path import dirname, join
  import os
  from sphinx.util import logging
label_desc: Use image node_id 1 for calling a global function with example usage: setup(app) without return types