diff options
author | joey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071> | 2007-08-13 03:07:31 +0000 |
---|---|---|
committer | joey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071> | 2007-08-13 03:07:31 +0000 |
commit | 506bcbac0420a46997ad531961d543e62c011513 (patch) | |
tree | 8eaa71367c58158924077e61a3f6b2d1383cbb96 /doc/plugins/contrib.mdwn | |
parent | b2101850e2098684a864e6143725247606da96bb (diff) |
* Fix --libdir to work at the command line.
* Plugins can now be written as standalone external programs, which can
be written in any language that can do XML::RPC.
Diffstat (limited to 'doc/plugins/contrib.mdwn')
-rw-r--r-- | doc/plugins/contrib.mdwn | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/doc/plugins/contrib.mdwn b/doc/plugins/contrib.mdwn index dc8b90771..abdf1bd4e 100644 --- a/doc/plugins/contrib.mdwn +++ b/doc/plugins/contrib.mdwn @@ -6,10 +6,10 @@ rootpage="plugins/contrib" postformtext="Add a new plugin named:" show=0]] # Installing third party plugins -Plugins are perl modules and should be installed somewhere in the perl -module search path. See the @INC list at the end of the output of `perl -V` -for a list of the directories in that path. All plugins are in the -IkiWiki::Plugin namespace, so they go in a IkiWiki/Plugin subdirectory +Most ikiwiki plugins are perl modules and should be installed somewhere in +the perl module search path. See the @INC list at the end of the output of +`perl -V` for a list of the directories in that path. All plugins are in +the IkiWiki::Plugin namespace, so they go in a IkiWiki/Plugin subdirectory inside the perl search path. For example, if your perl looks in `/usr/local/lib/site_perl` for modules, you can locally install ikiwiki plugins to `/usr/local/lib/site_perl/IkiWiki/Plugin` @@ -17,3 +17,8 @@ plugins to `/usr/local/lib/site_perl/IkiWiki/Plugin` You can use the `libdir` configuration option to add a directory to the search path. For example, if you set `libdir` to `/home/you/.ikiwiki/`, then ikiwiki will look for plugins in `/home/you/.ikiwiki/IkiWiki/Plugins`. + +Ikiwiki also supports plugins that are external programs. These are +typically written in some other language than perl. Ikiwiki searches for +these in /usr/lib/ikiwiki/plugins by default. If `libdir` is set, it will +also look in that directory, for example in `/home/you/.ikiwiki/plugins`. |