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
|
||||
|
|
|
|||
|
|
@ -125,6 +125,7 @@ Setting name (followed by default value, if any)
|
|||
not. Only set this to ``True`` when developing/testing and only
|
||||
if you fully understand the effect it can have on links/feeds.
|
||||
``PLUGINS = []`` The list of plugins to load. See :ref:`plugins`.
|
||||
``PLUGIN_PATHS = []`` A list of directories where to look for plugins. See :ref:`plugins`.
|
||||
``SITENAME = 'A Pelican Blog'`` Your site name
|
||||
``SITEURL`` Base URL of your website. Not defined by default,
|
||||
so it is best to specify your SITEURL; if you do not, feeds
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue