Commits

Georg Brandl committed f00ec62

Fix a bug preventing incremental rebuilds for the ``dirhtml`` builder -- the
target file name wasn't determined portably between HTML builders.

Comments (0)

Files changed (2)

 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.

sphinx/builders/html.py

             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: