From 755bd7918120d62a1ce981184f774d038f317c58 Mon Sep 17 00:00:00 2001 From: Bridouz Date: Thu, 7 Dec 2017 11:25:20 +0100 Subject: [PATCH] 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. --- doc/pelican/theme.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 -- 2.30.2