class documentation

class TocTreeCollector(EnvironmentCollector):

View In Hierarchy

Undocumented

Method assign​_figure​_numbers Assign a figure number to each figure under a numbered toctree.
Method assign​_section​_numbers Assign a section number to each heading under a numbered toctree.
Method clear​_doc Remove specified data of a document.
Method get​_updated​_docs Return a list of docnames to re-read.
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 Build a TOC from the doctree and store it in the inventory.

Inherited from EnvironmentCollector:

Method get​_outdated​_docs Return a list of docnames to re-read.
Method disable Undocumented
Method enable Undocumented
Instance Variable listener​_ids Undocumented
def assign_figure_numbers(self, env):
Assign a figure number to each figure under a numbered toctree.
Parameters
env:BuildEnvironmentUndocumented
Returns
List[str]Undocumented
def assign_section_numbers(self, env):
Assign a section number to each heading under a numbered toctree.
Parameters
env:BuildEnvironmentUndocumented
Returns
List[str]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 get_updated_docs(self, app, env):

Return a list of docnames to re-read.

This methods is called after reading the whole of documents (experimental).

Parameters
app:SphinxUndocumented
env:BuildEnvironmentUndocumented
Returns
List[str]Undocumented
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):
Build a TOC from the doctree and store it in the inventory.
Parameters
app:SphinxUndocumented
doctree:nodes.documentUndocumented