class_docstr: A base class of post-transforms.
  
  Post transforms are invoked to modify the document to restructure it for outputting.
  They resolve references, convert images, do special transformation for each output
  formats and so on.  This class helps to implement these post transforms.
class_docstr_tok: ["A","base","class","of","post-transforms",".","Post","transforms","are","invoked","to","modify","the","document","to","restructure","it","for","outputting",".","They","resolve","references",",","convert","images",",","do","special","transformation","for","each","output","formats","and","so","on",".","This","class","helps","to","implement","these","post","transforms","."]
code: def apply(self, **kwargs: Any) -> None:
      if self.is_supported():
          self.run(**kwargs)
  
imports: from __future__ import annotations
  import re
  from typing import TYPE_CHECKING, Any, cast
  from docutils import nodes
  from docutils.nodes import Element, Node
  from sphinx import addnodes
  from sphinx.errors import NoUri
  from sphinx.locale import __
  from sphinx.transforms import SphinxTransform
  from sphinx.util import logging
  from sphinx.util.docutils import SphinxTranslator
  from sphinx.util.nodes import find_pending_xref_condition, process_only_nodes
label_desc: Use image node_id 1 for calling the SphinxPostTransform obj's underlying member method code with example usage: obj.apply() without return types