1. Gregg Lind
  2. sphinx

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.

  • Participants
  • Parent commits 3dada21
  • Branches default

Comments (0)

Files changed (2)

File CHANGES

View file
 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.

File sphinx/builders/html.py

View file
             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: