code: def setup(app):
      if (
          os.environ.get("READTHEDOCS")
          and os.environ.get("READTHEDOCS_VERSION") == "stable"
      ):
          global master_doc
          master_doc = "pydeck_redirect"
      if not os.environ.get("PYDECK_DEV_PORT"):
          subprocess.call(
              "{python} scripts/embed_examples.py".format(
                  python=sys.executable
              ),
              shell=True,
          )
      else:
          print(
              "PYDECK_DEV_PORT is set, skipping layer.rst conversions"
          )
  
label_desc: Use image node_id 1 for calling a global function with example usage: setup(app) without return types