summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>2006-07-03 21:29:56 +0000
committerjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>2006-07-03 21:29:56 +0000
commit7ea8df24b32a36687cfea94e2b84272777562325 (patch)
treec30bb00a324877fe4c2764d69f5e4af51385e17f /doc
parent929b9de9c2b0f3ed1a0c9e006d084519bd5e0479 (diff)
* 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.
Diffstat (limited to 'doc')
-rw-r--r--doc/ikiwiki.setup12
-rw-r--r--doc/plugins.mdwn2
2 files changed, 8 insertions, 6 deletions
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