mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
adjust code-comment to suitable reST format
This commit is contained in:
@@ -787,10 +787,12 @@ class BuildEnvironment:
|
|||||||
app.emit('doctree-read', doctree)
|
app.emit('doctree-read', doctree)
|
||||||
|
|
||||||
# store time of build, for outdated files detection
|
# store time of build, for outdated files detection
|
||||||
# note::
|
#
|
||||||
# Some filesystem's have coarse timestamp resolution.
|
# .. note::
|
||||||
# Therefore time.time() is older than filesystem's timestamp.
|
#
|
||||||
# ex. FAT32 have 2sec resolution.
|
# Some filesystem's have coarse timestamp resolution.
|
||||||
|
# Therefore time.time() is older than filesystem's timestamp.
|
||||||
|
# ex. FAT32 have 2sec resolution.
|
||||||
self.all_docs[docname] = max(
|
self.all_docs[docname] = max(
|
||||||
time.time(), path.getmtime(self.doc2path(docname)))
|
time.time(), path.getmtime(self.doc2path(docname)))
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user