mirror of
https://github.com/getpelican/pelican.git
synced 2025-10-15 20:28:56 +02:00
Merge pull request #471 from nrocco/master
New signal called 'finalized'
This commit is contained in:
commit
7828614459
3 changed files with 10 additions and 3 deletions
|
|
@ -53,10 +53,14 @@ List of signals
|
|||
|
||||
Here is the list of currently implemented signals:
|
||||
|
||||
========================= ============================ =========================================
|
||||
========================= ============================ ===========================================================================
|
||||
Signal Arguments Description
|
||||
========================= ============================ =========================================
|
||||
========================= ============================ ===========================================================================
|
||||
initialized pelican object
|
||||
finalized pelican object invoked after all the generators are executed and just before pelican exits
|
||||
usefull for custom post processing actions, such as:
|
||||
- minifying js/css assets.
|
||||
- notify/ping search engines with an updated sitemap.
|
||||
article_generate_context article_generator, metadata
|
||||
article_generator_init article_generator invoked in the ArticlesGenerator.__init__
|
||||
get_generators generators invoked in Pelican.get_generator_classes,
|
||||
|
|
@ -64,7 +68,7 @@ get_generators generators invoked in Pelican.ge
|
|||
generator in a tuple or in a list.
|
||||
pages_generate_context pages_generator, metadata
|
||||
pages_generator_init pages_generator invoked in the PagesGenerator.__init__
|
||||
========================= ============================ =========================================
|
||||
========================= ============================ ===========================================================================
|
||||
|
||||
The list is currently small, don't hesitate to add signals and make a pull
|
||||
request if you need them!
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue