Text tweaks for "PLUGIN_PATH as list" feature

This commit is contained in:
Justin Mayer 2014-04-18 13:21:06 -07:00
commit f0802e8114
2 changed files with 6 additions and 6 deletions

View file

@ -20,12 +20,12 @@ Alternatively, another method is to import them and add them to the list::
from package import myplugin
PLUGINS = [myplugin,]
If your plugins are not in an importable path, you can specify a ``PLUGIN_PATH``
in the settings. ``PLUGIN_PATH`` can be an absolute path or a path relative to
the settings file::
If your plugins are not in an importable path, you can specify a list of paths
via the ``PLUGIN_PATH`` setting. As shown in the following example, paths in
the ``PLUGIN_PATH`` list can be absolute or relative to the settings file::
PLUGIN_PATH = ["list", "of", plugins path"]
PLUGINS = ["list", "of", "plugins"]
PLUGIN_PATH = ["plugins", "/srv/pelican/plugins"]
PLUGINS = ["assets", "liquid_tags", "sitemap"]
Where to find plugins
=====================