adjust code-comment to suitable reST format

This commit is contained in:
Takayuki Shimizukawa 2012-10-31 10:21:16 +09:00
parent 88e1bbe307
commit ee0d0ed1fd

View File

@ -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)))