From: Bridouz Date: Thu, 7 Dec 2017 10:25:20 +0000 (+0100) Subject: doc: fix pelicanconf.py parameters. X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~cjwatson/git?a=commitdiff_plain;h=755bd7918120d62a1ce981184f774d038f317c58;p=blog.git doc: fix pelicanconf.py parameters. 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. --- diff --git a/doc/pelican/theme.rst b/doc/pelican/theme.rst index eec71de0..478b5dd2 100644 --- a/doc/pelican/theme.rst +++ b/doc/pelican/theme.rst @@ -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