class documentation

class ImageCollector(EnvironmentCollector):

View In Hierarchy

Image files collector for sphinx.environment.
Method clear​_doc Remove specified data of a document.
Method collect​_candidates Undocumented
Method merge​_other Merge in specified data regarding docnames from a different BuildEnvironment object which coming from a subprocess in parallel builds.
Method process​_doc Process and rewrite image URIs.

Inherited from EnvironmentCollector:

Method get​_outdated​_docs Return a list of docnames to re-read.
Method get​_updated​_docs Return a list of docnames to re-read.
Method disable Undocumented
Method enable Undocumented
Instance Variable listener​_ids Undocumented
def clear_doc(self, app, env, docname):

Remove specified data of a document.

This method is called on the removal of the document.

Parameters
app:SphinxUndocumented
env:BuildEnvironmentUndocumented
docname:strUndocumented
def collect_candidates(self, env, imgpath, candidates, node):

Undocumented

Parameters
env:BuildEnvironmentUndocumented
imgpath:strUndocumented
candidates:Dict[str, str]Undocumented
node:NodeUndocumented
def merge_other(self, app, env, docnames, other):
Merge in specified data regarding docnames from a different BuildEnvironment object which coming from a subprocess in parallel builds.
Parameters
app:SphinxUndocumented
env:BuildEnvironmentUndocumented
docnames:Set[str]Undocumented
other:BuildEnvironmentUndocumented
def process_doc(self, app, doctree):
Process and rewrite image URIs.
Parameters
app:SphinxUndocumented
doctree:nodes.documentUndocumented