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:
parent
88e1bbe307
commit
ee0d0ed1fd
@ -787,10 +787,12 @@ class BuildEnvironment:
|
||||
app.emit('doctree-read', doctree)
|
||||
|
||||
# store time of build, for outdated files detection
|
||||
# note::
|
||||
# Some filesystem's have coarse timestamp resolution.
|
||||
# Therefore time.time() is older than filesystem's timestamp.
|
||||
# ex. FAT32 have 2sec resolution.
|
||||
#
|
||||
# .. note::
|
||||
#
|
||||
# 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(
|
||||
time.time(), path.getmtime(self.doc2path(docname)))
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user