summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
Diffstat (limited to 'doc')
-rw-r--r--doc/plugins.mdwn17
1 files changed, 8 insertions, 9 deletions
diff --git a/doc/plugins.mdwn b/doc/plugins.mdwn
index ae9c6300a..6f4127e78 100644
--- a/doc/plugins.mdwn
+++ b/doc/plugins.mdwn
@@ -9,7 +9,13 @@ Of these, [[inline]] is enabled by default.
To enable other plugins, use the `--plugin` switch described in [[usage]], or the equivilant line in
[[ikiwiki.setup]].
-## Third party plugins
+## Plugin directory
+
+Add your contributed plugins here.
+
+[[inline pages="plugins/* !plugins/write !*/Discussion" archive="yes" rootpage="plugins/contrib" show="30"]]
+
+## 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`
@@ -17,11 +23,4 @@ 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`
-
-
-## Plugin directory
-
-Add your contributed plugins here.
-
-[[inline pages="plugins/* !plugins/write !*/Discussion" archive="yes" rootpage="plugins/contrib" show="30"]]
+plugins to `/usr/local/lib/site_perl/IkiWiki/Plugin` \ No newline at end of file