summaryrefslogtreecommitdiff
path: root/doc/todo/New_preprocessor_directive_syntax
AgeCommit message (Expand)Author
2008-11-03responseintrigeri
2008-11-02Note about prefix_directivesJason Blevins
2008-02-28web commit by bremnerJoey Hess
/span>type => "getsetup", id => "underlay", call => \&getsetup);
  • hook(type => "checkconfig", id => "underlay", call => \&checkconfig);
  • }
  • sub getsetup () {
  • return
  • plugin => {
  • safe => 0,
  • rebuild => undef,
  • },
  • add_underlays => {
  • type => "string",
  • example => ["$ENV{HOME}/wiki.underlay"],
  • description => "extra underlay directories to add",
  • advanced => 1,
  • safe => 0,
  • rebuild => 1,
  • },
  • }
  • sub checkconfig () {
  • if ($config{add_underlays}) {
  • foreach my $dir (@{$config{add_underlays}}) {
  • add_underlay($dir);
  • }
  • }
  • }
  • 1;