Add new signal: feed_generated

This signal gets emitted before a feed gets written to disk.
Therefore it allows plugins to do arbitrary changes to the feed.
This commit is contained in:
Bernhard Scheirle 2017-01-16 11:33:13 +01:00
commit 927d9c7ea5
4 changed files with 5 additions and 1 deletions

View file

@ -118,6 +118,8 @@ static_generator_init static_generator invoked in th
static_generator_finalized static_generator invoked at the end of StaticGenerator.generate_context
content_object_init content_object invoked at the end of Content.__init__
content_written path, context invoked each time a content file is written.
feed_generated context, feed invoked each time a feed gets generated. Can be used to modify a feed
object before it gets written.
feed_written path, context, feed invoked each time a feed file is written.
================================= ============================ ===========================================================================