X-Git-Url: https://scripts.mit.edu/gitweb/www/ikiwiki.git/blobdiff_plain/99292550fdf3c5bf9feb4a665e2de99f5cfc0d35..4a71047839469c56c838b54ce075ab67a58bacee:/doc/plugins.mdwn 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