aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoey Hess <joey@kodama.kitenet.net>2008-07-29 15:04:34 -0400
committerJoey Hess <joey@kodama.kitenet.net>2008-07-29 15:04:34 -0400
commit37245a9988d22938a8f13fb89cecc5c23bbed419 (patch)
tree6c25102cfcf274628318aa13c9e8f566a4db40db
parenta81dfc9063aa873f6b005ae3ae6a30b3faee04aa (diff)
downloadikiwiki-37245a9988d22938a8f13fb89cecc5c23bbed419.tar
ikiwiki-37245a9988d22938a8f13fb89cecc5c23bbed419.tar.gz
add refresh hook
-rw-r--r--IkiWiki/Plugin/skeleton.pm.example5
1 files changed, 5 insertions, 0 deletions
diff --git a/IkiWiki/Plugin/skeleton.pm.example b/IkiWiki/Plugin/skeleton.pm.example
index 1af8e4e9d..10c7002e4 100644
--- a/IkiWiki/Plugin/skeleton.pm.example
+++ b/IkiWiki/Plugin/skeleton.pm.example
@@ -11,6 +11,7 @@ use IkiWiki 2.00;
sub import { #{{{
hook(type => "getopt", id => "skeleton", call => \&getopt);
hook(type => "checkconfig", id => "skeleton", call => \&checkconfig);
+ hook(type => "refresh", id => "skeleton", call => \&refresh);
hook(type => "needsbuild", id => "skeleton", call => \&needsbuild);
hook(type => "preprocess", id => "skeleton", call => \&preprocess);
hook(type => "filter", id => "skeleton", call => \&filter);
@@ -42,6 +43,10 @@ sub checkconfig () { #{{{
debug("skeleton plugin checkconfig");
} #}}}
+sub refresh () { #{{{
+ debug("skeleton plugin refresh");
+} #}}}
+
sub needsbuild () { #{{{
debug("skeleton plugin needsbuild");
} #}}}