class documentation

class MetadataCollector(EnvironmentCollector): (source)

View In Hierarchy

metadata collector for sphinx.environment.

Method clear_doc Remove specified data of a document.
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 the docinfo part of the doctree as metadata.

Inherited from EnvironmentCollector:

Method disable Undocumented
Method enable Undocumented
Method get_outdated_docs Return a list of docnames to re-read.
Method get_updated_docs Return a list of docnames to re-read.
Instance Variable listener_ids Undocumented
def clear_doc(self, app, env, docname): (source)

Remove specified data of a document. This method is called on the removal of the document.

Parameters
app:SphinxUndocumented
env:BuildEnvironmentUndocumented
docname:strUndocumented
def merge_other(self, app, env, docnames, other): (source)

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): (source)

Process the docinfo part of the doctree as metadata. Keep processing minimal -- just return what docutils says.

Parameters
app:SphinxUndocumented
doctree:nodes.documentUndocumented