]> sipb.mit.edu Git - ikiwiki.git/commitdiff
web commit by NicolasLimare: how to use plugins from $HOME
authorjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>
Thu, 26 Jul 2007 23:27:29 +0000 (23:27 +0000)
committerjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>
Thu, 26 Jul 2007 23:27:29 +0000 (23:27 +0000)
doc/plugins.mdwn

index 3f154f1f0fa1be6047554c14fd64ec3012aa0f89..255f13f670c0701b97c504f4463a0b49be226b8b 100644 (file)
@@ -11,6 +11,14 @@ To enable plugins, use the `--plugin` switch described in
 Enable the [[goodstuff]] plugin to get a nice selection of plugins that
 will fit most uses of ikiwiki.
 
+Without administrator access, you can add some custom plugins by storing 
+yourcustomplugin.pm in /home/user/.ikiwiki/IkiWiki/Plugins (or any other
+place, keeping the "IkiWiki/Plugins" part of the path) and adding this
+line at the begining of your ikiwiki.setup file:
+
+    BEGIN { push @INC, "/home/user/.ikiwiki" } 
+
+
 ## Plugin directory
 
 [[inline pages="plugins/* and !plugins/type/* and !plugins/write and