mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
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:
3
CHANGES
3
CHANGES
@@ -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.
|
||||
|
||||
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user