From 8323bc5214bf3581ebfbad57385934033c228b76 Mon Sep 17 00:00:00 2001 From: joey Date: Thu, 28 Dec 2006 22:15:38 +0000 Subject: * Improve code that ignores files in the underlaydir if the srcdir has a file building the same page. Now it will work even if the extensions of the source files differ. --- doc/bugs/underlaydir_file_expose.mdwn | 6 ++++++ doc/index/discussion.mdwn | 2 ++ 2 files changed, 8 insertions(+) (limited to 'doc') diff --git a/doc/bugs/underlaydir_file_expose.mdwn b/doc/bugs/underlaydir_file_expose.mdwn index 0c6f55425..b8e84969c 100644 --- a/doc/bugs/underlaydir_file_expose.mdwn +++ b/doc/bugs/underlaydir_file_expose.mdwn @@ -1,3 +1,9 @@ If a file in the srcdir is removed, exposing a file in the underlaydir, ikiwiki will not notice the change and rebuild it until the file in the underlaydir gets a mtime newer than the mtime the removed file had. + +Relatedly, if there are two files with different extensions that build a +page with the same name, in a directory, ikiwiki will update the page +whenever either changes, using the changed one as the source. But if that +most recently changed one is removed, it won't rebuild the page using the +older one as the source. diff --git a/doc/index/discussion.mdwn b/doc/index/discussion.mdwn index ac4f32d26..719768117 100644 --- a/doc/index/discussion.mdwn +++ b/doc/index/discussion.mdwn @@ -230,3 +230,5 @@ that sort of thing. Where or how do I submit it for inclusion? >> Until I fix that, you can avoid the one from the underlay directory by >> setting `underlaydir` to point to an empty directory. --[[Joey]] >> +>> Ok, fixed (in svn), it will now prefer files in the srcdir over files +>> in the underlaydir that build the same page, no matter what extension. -- cgit v1.2.3