]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/blob - 1.33.2/doc/plugins.mdwn
tagging version 1.33.2
[git.ikiwiki.info.git] / 1.33.2 / 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, do other [[type/useful]]
4 stuff, add [[type/chrome]] to the wiki, or just have [[type/fun]].
6 There's documentation if you want to [[write]] your own plugins, or you can
7 install and use plugins contributed by others. 
9 The [[mdwn]], [[inline]], and [[htmlscrubber]] plugins are enabled by default.
10 To enable other plugins, use the `--plugin` switch described in [[usage]],
11 or the equivalent `add_plugins` line in [[ikiwiki.setup]].
13 # Plugin directory
15 Add all plugins here. Or add ideas to the [[todo|todo/plugin]] page.
17 [[inline pages="plugins/* and !plugins/type/* and !plugins/write and !plugins/contrib and !*/Discussion" archive="yes" rootpage="plugins/contrib"]]
19 # Installing third party plugins
21 Plugins are perl modules and should be installed somewhere in the perl
22 module search path. See the @INC list at the end of the output of `perl -V`
23 for a list of the directories in that path. All plugins are in the
24 IkiWiki::Plugin namespace, so they go in a IkiWiki/Plugin subdirectory
25 inside the perl search path. For example, if your perl looks in
26 `/usr/local/lib/site_perl` for modules, you can locally install ikiwiki
27 plugins to `/usr/local/lib/site_perl/IkiWiki/Plugin`