mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
Revert revision 0530a8aaaa9a; it does not work if dependent files are involved.
This commit is contained in:
parent
fbc2c113ee
commit
523b16f005
@ -616,8 +616,8 @@ class BuildEnvironment:
|
||||
self.note_citations_from(docname, doctree)
|
||||
self.build_toc_from(docname, doctree)
|
||||
|
||||
# store file modification time, for outdated files detection
|
||||
self.all_docs[docname] = path.getmtime(src_path)
|
||||
# store time of build, for outdated files detection
|
||||
self.all_docs[docname] = time.time()
|
||||
|
||||
if app:
|
||||
app.emit('doctree-read', doctree)
|
||||
|
Loading…
Reference in New Issue
Block a user