summaryrefslogtreecommitdiff
path: root/IkiWiki/Plugin/skeleton.pm
diff options
context:
space:
mode:
authorjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>2007-05-09 00:48:09 +0000
committerjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>2007-05-09 00:48:09 +0000
commit72c53650ad4a708493880daa75cdda9d056fc75e (patch)
treefa5a977f1b2aca5bde037d74029f069027b9a3bb /IkiWiki/Plugin/skeleton.pm
parent127bceef5b4799e58cb068043e49ed16a3ec840d (diff)
* Add the needsbuild hook. Plugins can use this to manipulate which files
ikiwiki builds when refreshing the wiki.
Diffstat (limited to 'IkiWiki/Plugin/skeleton.pm')
-rw-r--r--IkiWiki/Plugin/skeleton.pm5
1 files changed, 5 insertions, 0 deletions
diff --git a/IkiWiki/Plugin/skeleton.pm b/IkiWiki/Plugin/skeleton.pm
index b8c327c9d..fb4cfe9af 100644
--- a/IkiWiki/Plugin/skeleton.pm
+++ b/IkiWiki/Plugin/skeleton.pm
@@ -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 => "needsbuild", id => "skeleton", call => \&needsbuild);
hook(type => "preprocess", id => "skeleton", call => \&preprocess);
hook(type => "filter", id => "skeleton", call => \&filter);
hook(type => "htmlize", id => "skeleton", call => \&htmlize);
@@ -35,6 +36,10 @@ sub checkconfig () { #{{{
debug("skeleton plugin checkconfig");
} #}}}
+sub needsbuild () { #{{{
+ debug("skeleton plugin needsbuild");
+} #}}}
+
sub preprocess (@) { #{{{
my %params=@_;