mirror of
https://github.com/getpelican/pelican.git
synced 2025-10-15 20:28:56 +02:00
Fix #1344 move PLUGIN_PATH -> PLUGIN_PATHS
Pelican uses *_PATHS names for settings that represent a list of paths.
This commit is contained in:
parent
d635a347d1
commit
21882fd4a0
4 changed files with 18 additions and 13 deletions
|
|
@ -21,10 +21,10 @@ Alternatively, another method is to import them and add them to the list::
|
|||
PLUGINS = [myplugin,]
|
||||
|
||||
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::
|
||||
via the ``PLUGIN_PATHS`` setting. As shown in the following example, paths in
|
||||
the ``PLUGIN_PATHS`` list can be absolute or relative to the settings file::
|
||||
|
||||
PLUGIN_PATH = ["plugins", "/srv/pelican/plugins"]
|
||||
PLUGIN_PATHS = ["plugins", "/srv/pelican/plugins"]
|
||||
PLUGINS = ["assets", "liquid_tags", "sitemap"]
|
||||
|
||||
Where to find plugins
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue