1
0
Fork 0
forked from github/pelican
pelican-theme/pelican
Peter Sabaini 1c50a18d0a Override settings from the command line
Add a --setting-overrides KEY=VAL command line option to override
default settings or those defined in settings files. This adds
flexibility in running Pelican and helps reduce sprawl of settings
files. Cast int and str setting overrides to their respective types.
Support other setting types by treating them as JSON. Fall back to JSON
when an override typecast errors. This should make it possible to set
int values to None, resp. to JSON 'none'
2020-08-11 12:51:08 +02:00
..
plugins Modernize code base to Python 3+ syntax 2020-04-27 09:45:31 +02:00
tests Override settings from the command line 2020-08-11 12:51:08 +02:00
themes Expose first and last page of pagination (#2618) 2020-04-30 19:05:48 +02:00
tools Fixups post-review 2020-06-09 18:12:24 +02:00
__init__.py Override settings from the command line 2020-08-11 12:51:08 +02:00
__main__.py Initial pass of removing Python 2 support 2019-11-26 06:16:41 +09:00
cache.py Modernize code base to Python 3+ syntax 2020-04-27 09:45:31 +02:00
contents.py Modernize code base to Python 3+ syntax 2020-04-27 09:45:31 +02:00
generators.py Modernize code base to Python 3+ syntax 2020-04-27 09:45:31 +02:00
log.py Force root logger to be of FatalLogger class 2020-06-05 01:50:00 +02:00
paginator.py Modernize code base to Python 3+ syntax 2020-04-27 09:45:31 +02:00
readers.py Fix Windows tests 2020-05-09 16:17:14 +03:00
rstdirectives.py Modernize code base to Python 3+ syntax 2020-04-27 09:45:31 +02:00
server.py Modernize code base to Python 3+ syntax 2020-04-27 09:45:31 +02:00
settings.py Override settings from the command line 2020-08-11 12:51:08 +02:00
urlwrappers.py Modernize code base to Python 3+ syntax 2020-04-27 09:45:31 +02:00
utils.py Merge pull request #2750 from avaris/autoreload 2020-05-10 07:29:27 +02:00
writers.py Fix Windows tests 2020-05-09 16:17:14 +03:00