X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/blobdiff_plain/127bceef5b4799e58cb068043e49ed16a3ec840d..72c53650ad4a708493880daa75cdda9d056fc75e:/doc/plugins/write.mdwn?ds=sidebyside diff --git a/doc/plugins/write.mdwn b/doc/plugins/write.mdwn index 8b0cdfdaa..9d85d4a9f 100644 --- a/doc/plugins/write.mdwn +++ b/doc/plugins/write.mdwn @@ -62,6 +62,15 @@ configuration. It's called early in the startup process. The function is passed no values. It's ok for the function to call `error()` if something isn't configured right. +### needsbuild + + hook(type => "needsbuild", id => "foo", call => \&needsbuild); + +This allows a plugin the manipulate the list of files that need to be +built when the wiki is refreshed. The function is passed a reference to an +array of pages that will be rebuilt, and can modify the array, either +adding or removing files from it. + ### filter hook(type => "filter", id => "foo", call => \&filter);