aboutsummaryrefslogtreecommitdiff
path: root/IkiWiki/Plugin/table.pm
diff options
context:
space:
mode:
authorJoey Hess <joey@kodama.kitenet.net>2008-08-03 19:35:35 -0400
committerJoey Hess <joey@kodama.kitenet.net>2008-08-03 19:36:11 -0400
commit39056453424dcb7e01f69c502192e45604d1fe84 (patch)
tree1aebbca749dd0dce1cc2747ededf85a3fdc78e3e /IkiWiki/Plugin/table.pm
parent210b9ba2f3999db21030bb7ca05b9861b763788a (diff)
downloadikiwiki-39056453424dcb7e01f69c502192e45604d1fe84.tar
ikiwiki-39056453424dcb7e01f69c502192e45604d1fe84.tar.gz
add plugin safe/rebuild info (part 3 of 3)
Diffstat (limited to 'IkiWiki/Plugin/table.pm')
-rw-r--r--IkiWiki/Plugin/table.pm9
1 files changed, 9 insertions, 0 deletions
diff --git a/IkiWiki/Plugin/table.pm b/IkiWiki/Plugin/table.pm
index 892ea182e..1302646b1 100644
--- a/IkiWiki/Plugin/table.pm
+++ b/IkiWiki/Plugin/table.pm
@@ -7,9 +7,18 @@ use Encode;
use IkiWiki 2.00;
sub import { #{{{
+ hook(type => "getsetup", id => "table", call => \&getsetup);
hook(type => "preprocess", id => "table", call => \&preprocess);
} # }}}
+sub getsetup () { #{{{
+ return
+ plugin => {
+ safe => 1,
+ rebuild => undef,
+ },
+} #}}}
+
sub preprocess (@) { #{{{
my %params =(
format => 'auto',