X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/blobdiff_plain/1bed8653606bdaa778e34fdf6b257b7e27f0598b..63fa0ef5ba9a2e367791dd19b9aeb7c98d70ac85:/doc/plugins/install.mdwn?ds=inline diff --git a/doc/plugins/install.mdwn b/doc/plugins/install.mdwn index 3efcb4c4b..e810d8777 100644 --- a/doc/plugins/install.mdwn +++ b/doc/plugins/install.mdwn @@ -1,4 +1,4 @@ -[[meta title="Installing third party plugins"]] +[[!meta title="Installing third party plugins"]] 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 @@ -8,12 +8,14 @@ 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` -You can use the `libdir` configuration option to add a directory to the +You can use the `libdirs` and/or `libdir` configuration options to add +directories 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/Plugin`. 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 under that directory, for example in `/home/you/.ikiwiki/plugins`. +these in `/usr/lib/ikiwiki/plugins` by default. If `libdirs` or `libdir` are +set, it will also look under those directories, for example in +`/home/you/.ikiwiki/plugins`. Note that this type of plugin has to be executable for ikiwiki to use it.