网页
综合
更新时间 2026-11-17 02:45:28
Environment Collector API — Sphinx documentation
自动蜘蛛
www.sphinx-doc.org
正文约 833 字
An EnvironmentCollector is a specific data collector from each document.
It gathers data and stores BuildEnvironment as a database. Examples of specific data would be images, download files, section titles, metadatas, index entries and toctrees, etc.
This class essentially wraps a sub-set of Sphinx event callbacks.
Remove specified data of a document.
This method is called on the removal of the document.
Return a list of docnames to re-read.
This method is called before reading the documents.
Return a list of docnames to re-read.
This method is called after reading the whole of documents.
Merge in specified data regarding docnames from a different BuildEnvironment object which coming from a subprocess in parallel builds.
Process a document and gather specific data from it.
This method is called after the document is read.
本页为82搜索生成的网页快照,内容来自站内索引;演示数据的原文链接仅作示例。