mirror of
https://github.com/getpelican/pelican.git
synced 2025-10-15 20:28:56 +02:00
Added a new signal finalized that is dispatched when pelican finishes.
This signal can then be used for post processing.
This commit is contained in:
parent
8ecebc9310
commit
e9a0717aea
3 changed files with 4 additions and 0 deletions
|
|
@ -178,6 +178,8 @@ class Pelican(object):
|
|||
if hasattr(p, 'generate_output'):
|
||||
p.generate_output(writer)
|
||||
|
||||
signals.finalized.send(self)
|
||||
|
||||
def get_generator_classes(self):
|
||||
generators = [StaticGenerator, ArticlesGenerator, PagesGenerator]
|
||||
if self.settings['PDF_GENERATOR']:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue