code: def setup(app):
      def add_custom_routines(
          app, pagename, templatename, context, doctree
      ):
          context["get_report_issue_url"] = get_report_issue_url
          context[
              "get_check_example_api_reference"
          ] = get_check_example_api_reference
  
      # make custom routines available within html templates
      app.connect("html-page-context", add_custom_routines)
  
      return {
          "parallel_read_safe": True,
          "parallel_write_safe": True,
      }
  
imports: import functools
  import inspect
  import os
  import pathlib
  import sys
  import typing
  import re
  from subprocess import check_output
  import plotly.io
  from plotly.io._sg_scraper import plotly_sg_scraper
  import deepchecks
  from deepchecks import vision
  from deepchecks.utils.strings import to_snake_case
label_desc: Use image node_id 10 for calling a global function with example usage: setup(app) and returns: dict