mirror of
https://github.com/getpelican/pelican.git
synced 2025-10-15 20:28:56 +02:00
Text tweaks for "PLUGIN_PATH as list" feature
This commit is contained in:
parent
c386e29d0c
commit
f0802e8114
2 changed files with 6 additions and 6 deletions
|
|
@ -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
|
||||
=====================
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue