1
0
Fork 0
forked from github/pelican
pelican-theme/pelican
MinchinWeb 845acfe1ac Allow easy subclassing of Writer
When you write a custom Writer, it gets called with `settings=None`. If you writer is simply a subclass of the built-in Writer, Pelican will through the error `CRITICAL: 'RELATIVE_URLS'`.

The source of the error is from `Pelican._get_writer()` in `__init__.py`.
2021-06-08 14:01:32 -06:00
..
plugins Stringify plugin definitions so they can be pickled during caching (#2835) 2021-01-04 17:13:32 +01:00
tests Add support for hidden articles 2021-05-04 13:54:32 -05:00
themes Merge pull request #2838 from namn/patch-2 2021-04-27 20:14:10 +02:00
tools Automatically open browser when Invoke task starts web server (#2764) 2021-04-19 15:59:41 +02:00
__init__.py Add support for hidden articles 2021-05-04 13:54:32 -05: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 Add support for hidden articles 2021-05-04 13:54:32 -05:00
generators.py Add support for hidden articles 2021-05-04 13:54:32 -05:00
log.py Force root logger to be of FatalLogger class 2020-06-05 01:50:00 +02:00
paginator.py Support last page pattern in PAGINATION_PATTERNS 2021-01-13 11:19:36 +01:00
readers.py Lowercase metadata field name when comparing with FORMATTED_FIELDS in rST reader 2020-07-30 14:59:53 -04: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 Rename setting SUMMARY_END_MARKER → SUMMARY_END_SUFFIX (#2792) 2020-08-19 20:25:19 +02:00
signals.py restore pelican.signals with an explicit ImportError mentioning move 2020-10-12 14:53:18 +03:00
urlwrappers.py Modernize code base to Python 3+ syntax 2020-04-27 09:45:31 +02:00
utils.py Fix failing tests on Jinja 3+ 2021-06-08 11:40:27 -05:00
writers.py Allow easy subclassing of Writer 2021-06-08 14:01:32 -06:00