From 39056453424dcb7e01f69c502192e45604d1fe84 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Sun, 3 Aug 2008 19:35:35 -0400 Subject: add plugin safe/rebuild info (part 3 of 3) --- IkiWiki/Plugin/table.pm | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'IkiWiki/Plugin/table.pm') 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', -- cgit v1.2.3