code: def _get_member_ref_str(name, obj, role='obj', known_refs=None):
      
      if known_refs is not None:
          if name in known_refs:
              return known_refs[name]
      ref = _get_fullname(name, obj)
      return ":%s:`%s <%s>`" % (role, name, ref)
docs: generate a ReST-formmated reference link to the given `obj` of type
      `role`, using `name` as the link text