code: def autodoc_skip_member(app, what, name, obj, skip, options):
      exclusions = (
          "__delattr__",
          "__dict__",
          "__dir__",
          "__doc__",
          "__format__",
          "__getattribute__",
          "__hash__",
          "__init__",
          "__init_subclass__",
          "__new__",
          "__reduce__",
          "__reduce_ex__",
          "__repr__",
          "__setattr__",
          "__sizeof__",
          "__str__",
          "__subclasshook__",
          "__weakref__",
          "maketrans",
      )
  
      excluded_classes = ("str",)
  
      cls = get_class_that_defined_method(obj)
  
      exclude = (
          name in exclusions
          or (name.startswith("_") and not has_docstring(obj))
          or (cls and cls.__name__ in excluded_classes)
      )
  
      return exclude
  
imports: import inspect
  import datetime
label_desc: Use image node_id 3 for calling a global function with example usage: autodoc_skip_member(app, what, name, obj, skip, options) and returns: exclude