Commits

Georg Brandl committed b344591

Revert revision 0530a8aaaa9a; it does not work if dependent files are involved.

Comments (0)

Files changed (1)

sphinx/environment.py

         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)