Преглед на файлове

PLUGIN_PATH setting has been replaced by PLUGIN_PATHS and it should be a list

Yohann Lepage преди 10 години
родител
ревизия
17dfed31ff
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      Readme.rst

+ 1 - 1
Readme.rst

@@ -15,7 +15,7 @@ Easiest way to install and use these plugins is cloning this repo::
 
 
 and activating the ones you want in your settings file::
 and activating the ones you want in your settings file::
 
 
-    PLUGIN_PATH = 'path/to/pelican-plugins'
+    PLUGIN_PATHS = ['path/to/pelican-plugins']
     PLUGINS = ['assets', 'sitemap', 'gravatar']
     PLUGINS = ['assets', 'sitemap', 'gravatar']
 
 
 ``PLUGIN_PATH`` can be a path relative to your settings file or an absolute path.
 ``PLUGIN_PATH`` can be a path relative to your settings file or an absolute path.