]> sipb.mit.edu Git - ikiwiki.git/blob - doc/plugins.mdwn
* Make auth methods pluggable.
[ikiwiki.git] / doc / plugins.mdwn
1 Most of ikiwiki's [[features]] are implemented as plugins. Beyond the
2 [[type/core]] features, there are plugins to [[type/format]] text,
3 use [[type/tags]], show [[type/meta]] information, add [[type/auth]]
4 methods, do other [[type/useful]] stuff, add [[type/chrome]] to the
5 wiki, or just have [[type/fun]].
6
7 There's documentation if you want to [[write]] your own plugins, or you can
8 install and use plugins contributed by others. 
9
10 The [[mdwn]], [[inline]], and [[htmlscrubber]] plugins are enabled by default.
11 To enable other plugins, use the `--plugin` switch described in [[usage]],
12 or the equivalent `add_plugins` line in [[ikiwiki.setup]].
13
14 # Plugin directory
15
16 Add all plugins here. Or add ideas to the [[todo|todo/plugin]] page.
17
18 [[inline pages="plugins/* and !plugins/type/* and !plugins/write and !plugins/contrib and !*/Discussion" archive="yes" rootpage="plugins/contrib"]]
19
20 # Installing third party plugins
21
22 Plugins are perl modules and should be installed somewhere in the perl
23 module search path. See the @INC list at the end of the output of `perl -V`
24 for a list of the directories in that path. All plugins are in the
25 IkiWiki::Plugin namespace, so they go in a IkiWiki/Plugin subdirectory
26 inside the perl search path. For example, if your perl looks in
27 `/usr/local/lib/site_perl` for modules, you can locally install ikiwiki
28 plugins to `/usr/local/lib/site_perl/IkiWiki/Plugin`