class_docstr: Specialized Documenter subclass for objects on accessor level (methods,
  attributes).
code: def resolve_name(self, modname, parents, path, base):
      if modname is None:
          if path:
              mod_cls = path.rstrip(".")
          else:
              mod_cls = None
              # if documenting a class-level object without path,
              # there must be a current class, either from a parent
              # auto directive ...
              mod_cls = self.env.temp_data.get("autodoc:class")
              # ... or from a class directive
              if mod_cls is None:
                  mod_cls = self.env.temp_data.get("py:class")
              # ... if still None, there's no way to know
              if mod_cls is None:
                  return None, []
          # HACK: this is added in comparison to ClassLevelDocumenter
          # mod_cls still exists of class.accessor, so an extra
          # rpartition is needed
          modname, accessor = rpartition(mod_cls, ".")
          modname, cls = rpartition(modname, ".")
          parents = [cls, accessor]
          # if the module name is still missing, get it like above
          if not modname:
              modname = self.env.temp_data.get("autodoc:module")
          if not modname:
              if sphinx.__version__ > "1.3":
                  modname = self.env.ref_context.get("py:module")
              else:
                  modname = self.env.temp_data.get("py:module")
          # ... else, it stays None, which means invalid
      return modname, parents + [base]
  
imports: import os
  import sys
  import sphinx
  from sphinx.util import rpartition
  from sphinx.ext.autodoc import AttributeDocumenter, Documenter, MethodDocumenter
  from sphinx.ext.autosummary import Autosummary
label_desc: Use image node_id 1 for calling the AccessorLevelDocumenter obj's underlying member method code with example usage: obj.resolve_name(modname, parents, path, base) and returns: modname,  unknown, None,  list