Add signal: all_generators_finalized (getpelican/pelican-plugins#314)

Some plugins have used `content_object_init` signal and read `summary`
or `content` properties of the content object. This resulted in
internal (`{filename}`) links being unresolved. When used, this signal
should hopefully mitigate that.

See also:
* https://github.com/getpelican/pelican-plugins/issues/314
* https://github.com/getpelican/pelican-plugins/pull/410
This commit is contained in:
Kernc 2015-02-03 04:06:22 +01:00
commit 265f68a879
3 changed files with 15 additions and 0 deletions

View file

@ -168,6 +168,8 @@ class Pelican(object):
if hasattr(p, 'generate_context'):
p.generate_context()
signals.all_generators_finalized.send(generators)
writer = self.get_writer()
for p in generators: