diff options
author | Victor Skvortsov <vds003@gmail.com> | 2021-10-20 16:17:31 +0500 |
---|---|---|
committer | Justin Mayer <entroP@gmail.com> | 2022-02-09 06:05:50 -0700 |
commit | 5c178a1ccb8d6cbc7570ca0719128c2803aed974 (patch) | |
tree | c97773572c2a861dbc5c49d4b6905175db7041bc /docs | |
parent | ab81f183c6bdf7414f8a4a377f2db635886378f0 (diff) | |
download | pelican-5c178a1ccb8d6cbc7570ca0719128c2803aed974.tar.gz |
Fix #2938
Get rid of the coerce_overrides() function.
Add the ParseOverrides argparse.Action to parse overrides.
Treat all extra settings values strictly as json values.
Test overrides.
Edit docs and cli help.
Diffstat (limited to 'docs')
-rw-r--r-- | docs/settings.rst | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/docs/settings.rst b/docs/settings.rst index 47852527..675e6b8f 100644 --- a/docs/settings.rst +++ b/docs/settings.rst @@ -9,11 +9,12 @@ line:: If you used the ``pelican-quickstart`` command, your primary settings file will be named ``pelicanconf.py`` by default. -You can also specify extra settings via ``-e`` / ``--extra-settings`` option -flags, which will override default settings as well as any defined within -settings files:: +You can also specify settings via ``-e`` / ``--extra-settings`` option +flags. It will override default settings as well as any defined within the +setting file. Note that values must follow JSON notation:: + + pelican content -e SITENAME='"A site"' READERS='{"html": null}' CACHE_CONTENT=true - pelican content -e DELETE_OUTPUT_DIRECTORY=true .. note:: |