code: def setup(app):
      # Use a config value to indicate whether CUDA API docs can be generated.
      # This will also rebuild appropriately when the value changes.
      app.add_config_value("cuda_enabled", cuda_enabled, "env")
      app.add_config_value("flight_enabled", flight_enabled, "env")
      app.add_directive(
          "arrow-computefuncs", ComputeFunctionsTableDirective
      )
  
file_path: arrow/docs/source/conf.py
imports: import datetime
  import os
  import sys
  import warnings
  from unittest import mock
  from docutils.parsers.rst import Directive, directives
label_desc: Use image node_id 1 for calling a global function with example usage: setup(app) without return types