class_docstr: The sole purpose of this domain is a parallel_read_safe data store for the
  redirects mapping.
code: def clear_doc(self, docnames):
      self.redirects.clear()
  
file_path: matplotlib/doc/sphinxext/redirect_from.py
imports: from pathlib import Path
  from docutils.parsers.rst import Directive
  from sphinx.domains import Domain
  from sphinx.util import logging
label_desc: Use image node_id 2 for calling the RedirectFromDomain obj's underlying member method code with example usage: obj.clear_doc(docnames) without return types