Fix a bug preventing incremental rebuilds for the `dirhtml` builder -- the

target file name wasn't determined portably between HTML builders.
This commit is contained in:
Georg Brandl
2009-12-29 22:31:28 +01:00
parent b45ec23724
commit 4c19161b5a
2 changed files with 4 additions and 2 deletions

View File

@@ -1,6 +1,9 @@
Release 0.6.4 (in development)
==============================
* Fix a bug preventing incremental rebuilds for the ``dirhtml``
builder.
* #299: Fix the mangling of quotes in some literal blocks.
* #292: Fix path to the search index for the ``dirhtml`` builder.

View File

@@ -161,8 +161,7 @@ class StandaloneHTMLBuilder(Builder):
if docname not in self.env.all_docs:
yield docname
continue
targetname = self.env.doc2path(docname, self.outdir,
self.out_suffix)
targetname = self.get_outfilename(docname)
try:
targetmtime = path.getmtime(targetname)
except Exception: