From 7ea8df24b32a36687cfea94e2b84272777562325 Mon Sep 17 00:00:00 2001 From: joey Date: Mon, 3 Jul 2006 21:29:56 +0000 Subject: * Introduce add_plugins and disable_plugins config options in setup files. This allows adding or removing plugins w/o overriding the whole list of default plugins, which makes it easier to upgrade when new default plugins are added. --- doc/ikiwiki.setup | 12 +++++++----- doc/plugins.mdwn | 2 +- 2 files changed, 8 insertions(+), 6 deletions(-) (limited to 'doc') diff --git a/doc/ikiwiki.setup b/doc/ikiwiki.setup index f8d37ca21..c516da1b9 100644 --- a/doc/ikiwiki.setup +++ b/doc/ikiwiki.setup @@ -1,7 +1,7 @@ #!/usr/bin/perl # Configuration file for ikiwiki. -# Passing this to ikiwiki --setup will make ikiwiki generate two -# wrapper programs, one for cgi and one for a subversion post-commit hook. +# Passing this to ikiwiki --setup will make ikiwiki generate wrappers and +# build the wiki. # # Remember to re-run ikiwiki --setup any time you edit this file. @@ -69,7 +69,9 @@ use IkiWiki::Setup::Standard { discussion => 1, # Time format (for strftime) #timeformat => '%c', - # To change the enabled plugins, edit this list - #plugin => [qw{pagecount inline brokenlinks search smiley - # htmlscrubber}], + + # To add plugins, list them here. + #add_plugins => [qw{pagecount brokenlinks search smiley}], + # If you want to disable any of the default plugins, list them here. + #disable_plugins => [qw{inline htmlscrubber}], } diff --git a/doc/plugins.mdwn b/doc/plugins.mdwn index 2c184900c..05b661f2b 100644 --- a/doc/plugins.mdwn +++ b/doc/plugins.mdwn @@ -4,7 +4,7 @@ install and use plugins contributed by others. The [[inline]] and [[htmlscrubber]] plugins are enabled by default. To enable other plugins, use the `--plugin` switch described in [[usage]], -or the equivalent line in [[ikiwiki.setup]]. +or the equivalent `add_plugins` line in [[ikiwiki.setup]]. # Plugin directory -- cgit v1.2.3