diff options
author | Joey Hess <joey@kitenet.net> | 2010-09-07 12:08:59 -0400 |
---|---|---|
committer | Joey Hess <joey@kitenet.net> | 2010-09-07 12:08:59 -0400 |
commit | 8a6f4a7e50c247c061fd74b535d0f292aca6bda7 (patch) | |
tree | 265b285b3d8f5b33ff135531badfe2f3585e378d /doc | |
parent | 7475f90be2c1941d4449791e9e9cd5f3dc3bbb71 (diff) | |
download | ikiwiki-8a6f4a7e50c247c061fd74b535d0f292aca6bda7.tar ikiwiki-8a6f4a7e50c247c061fd74b535d0f292aca6bda7.tar.gz |
needsbuild hook interface changed; the hooks should now return the modified array of things that need built. (Backwards compatability code keeps plugins using the old interface working.)
Diffstat (limited to 'doc')
-rw-r--r-- | doc/plugins/write.mdwn | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/plugins/write.mdwn b/doc/plugins/write.mdwn index 10b4df835..31bb64e68 100644 --- a/doc/plugins/write.mdwn +++ b/doc/plugins/write.mdwn @@ -179,8 +179,8 @@ function is passed no values. This allows a plugin to 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 files that will be rebuilt, and can modify the array, either -adding or removing files from it. +array of files that will be rebuilt. It should return an array reference +that is a modified version of its input. It can add or remove files from it. ### scan |