mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
env: minor comment clarification
This commit is contained in:
@@ -213,8 +213,8 @@ class BuildEnvironment:
|
|||||||
# the source suffix.
|
# the source suffix.
|
||||||
|
|
||||||
self.found_docs = set() # contains all existing docnames
|
self.found_docs = set() # contains all existing docnames
|
||||||
self.all_docs = {} # docname -> mtime at the time of build
|
self.all_docs = {} # docname -> mtime at the time of reading
|
||||||
# contains all built docnames
|
# contains all read docnames
|
||||||
self.dependencies = {} # docname -> set of dependent file
|
self.dependencies = {} # docname -> set of dependent file
|
||||||
# names, relative to documentation root
|
# names, relative to documentation root
|
||||||
self.reread_always = set() # docnames to re-read unconditionally on
|
self.reread_always = set() # docnames to re-read unconditionally on
|
||||||
@@ -665,7 +665,7 @@ class BuildEnvironment:
|
|||||||
if app:
|
if app:
|
||||||
app.emit('doctree-read', doctree)
|
app.emit('doctree-read', doctree)
|
||||||
|
|
||||||
# store time of build, for outdated files detection
|
# store time of reading, for outdated files detection
|
||||||
# (Some filesystems have coarse timestamp resolution;
|
# (Some filesystems have coarse timestamp resolution;
|
||||||
# therefore time.time() can be older than filesystem's timestamp.
|
# therefore time.time() can be older than filesystem's timestamp.
|
||||||
# For example, FAT32 has 2sec timestamp resolution.)
|
# For example, FAT32 has 2sec timestamp resolution.)
|
||||||
|
Reference in New Issue
Block a user