chiark / gitweb /
doc: fix pelicanconf.py parameters.
authorBridouz <justin.berthault@gmail.com>
Thu, 7 Dec 2017 10:25:20 +0000 (11:25 +0100)
committerVladimír Vondruš <mosra@centrum.cz>
Thu, 7 Dec 2017 10:25:20 +0000 (11:25 +0100)
This is probably the first thing anyone will do and so there isn't any
pre-existing PLUGIN_PATHS or PLUGINS variable that could be added to.

doc/pelican/theme.rst

index eec71de0b91355027b5a9078261cec0d92bd96c7..478b5dd204f72a02483a803f0d0d9de14e6c4263 100644 (file)
@@ -75,8 +75,8 @@ plugin, so that plugin needs to be loaded as well.
                    '/static/m-dark.css']
     M_THEME_COLOR = '#22272e'
 
-    PLUGIN_PATHS += ['m.css/pelican-plugins']
-    PLUGINS += ['m.htmlsanity']
+    PLUGIN_PATHS = ['m.css/pelican-plugins']
+    PLUGINS = ['m.htmlsanity']
 
 Here you can take advantage of the ``pelicanconf.py`` and ``publishconf.py``
 distinction --- use ``m-dark.css`` for local development and override the