code: def _patch_function_documenter():
      # Monkeypatch FunctionDocumenter to let autosummary document ufuncs with
      # `autofunction` instead of `autodata` so that signatures are documented.
      documenter = sphinx.ext.autodoc.FunctionDocumenter
      orig = documenter.can_document_member
  
      def _can_document_member(member, *args, **kwargs):
          if isinstance(member, cupy.ufunc):
              return True
          return orig(member, *args, **kwargs)
  
      documenter.can_document_member = _can_document_member
  
file_path: cupy/docs/source/conf.py
imports: import importlib
  import inspect
  import os
  import sys
  import sphinx
  import cupy
  import _comparison_generator
label_desc: Use image node_id 6 for calling a global function with example usage: _patch_function_documenter() and returns: orig, True