code: def setup(app):
      """Required Sphinx extension setup function."""
      app.add_node(bokehjs_content, html=bokehjs_content.html)
      app.add_directive("bokehjs-content", BokehJSContent)
  
      return PARALLEL_SAFE
  
imports: from __future__ import annotations
  import logging
  from os.path import basename, join
  from docutils import nodes
  from docutils.parsers.rst.directives import unchanged
  from sphinx.directives.code import CodeBlock, container_wrapper, dedent_lines
  from sphinx.errors import SphinxError
  from sphinx.locale import __
  from sphinx.util import logging, parselinenos
  from sphinx.util.nodes import set_source_info
  from .None import PARALLEL_SAFE
  from .templates import BJS_CODEPEN_INIT, BJS_EPILOGUE, BJS_HTML, BJS_PROLOGUE
  from .util import get_sphinx_resources
label_desc: Use image node_id 1 for calling a global function with example usage: setup(app) and returns: PARALLEL_SAFE