W. Trevor King
7be16dd524
generators: Update PagesGenerator to use new read_file
...
Also standardize signal names. If `article_generator_*` is singular,
`page_generator_*` should be as well. Fix it from the older
`pages_generator_*`.
2013-06-12 15:02:31 -04:00
W. Trevor King
f2d6f77462
signals: Fix *_generate_* signals -> *_generator_*
...
For example, article_generate_preread is now article_generator_preread
for consistency with the other preread and context signals.
2013-06-12 15:02:30 -04:00
W. Trevor King
386cd1f3f0
signals: Add missing signals
...
Note that the `pages_*` names are plural , while the `article_*` names
are singular. I'll fix this once I update the PagesGenerator.
2013-06-12 15:02:30 -04:00
W. Trevor King
effe7e5e12
signals: Sort signals into categories
2013-06-12 15:02:30 -04:00
Chris Streeter
de44644700
Add a pages_generator_finalized signal.
...
I wrote a plugin that I'd like to also be able to run on pages in
addition to articles. Adding this signal will let me update the content
when a page is finished being generated.
2013-02-10 12:42:54 -08:00
Dirk Makowski
71995d5e1b
Port pelican to python 3.
...
Stays compatible with 2.x series, thanks to an unified codebase.
2013-01-11 03:20:09 +01:00
Bruno Binet
801bc755b5
Merge branch 'pr/558'
...
Conflicts:
docs/settings.rst
pelican/signals.py
2012-11-23 15:32:17 +01:00
Simon
09c893f3a3
Add a new signal generator_init, invoked at the end of Generator.__init__.
2012-11-20 23:42:31 +01:00
Erik Hetzner
6d745f32c0
add preread signal
2012-11-14 22:12:46 -08:00
FELD Boris
22f3c40385
Add a new signal article_generator_finalized, called at the end of ArticleGenerator.generate_context
2012-10-13 19:17:16 +02:00
Alexis Métaireau
299277b140
merge rachid changes
2012-10-12 23:31:37 +02:00
m-r-r
0073c64e21
Sitemap plugin & get_generators signal
...
This is a combination of 13 commits:
1. New signal for registering custom generators
2. New plugin: pelican.plugins.sitemap
3. pelican.plugins.sitemap: more settings
4. pelican.plugins.sitemap: translations are indexed
5. pelican.plugins.sitemap: added documentation
6. pelican.plugins.sitemap: added XML DTD & W3C dates
7. pelican.plugins.sitemap: removed a <changefreq> bug
8. the `get_generators` can now return a tuple
9. pelican.plugins.sitemap: cleaned the code
10. pelican.plugin.sitemap: settings changes
11. sitemap plugin: improved configuration & documentation
12. sitemap plugin: :set spell
13. sitemap plugin: removed useless whitespaces
2012-10-12 23:01:50 +02:00
Nico Di Rocco
519d664a40
Added a new signal finalized that is dispatched when pelican finishes.
...
This signal can then be used for post processing.
2012-10-12 23:01:50 +02:00
Rachid Belaid
6100773c24
Add a new signal content_object_init
...
It's sent when a new content object is created: Page, Article
2012-09-02 19:20:42 +01:00
Joshua Adelman
597dba1391
Added signals to plugin for pages generation
2012-07-19 20:59:48 -04:00
Marco Milanesi
48d7df72f1
refactored code and introduced a new signal in ArticlesGenerator __init__
2011-09-07 17:08:28 +02:00
Marco Milanesi
3743617d27
removed spurious signal
2011-09-06 18:56:44 +02:00
Marco Milanesi
c6c0ee76c2
implemented github activity plugin
2011-09-06 18:54:41 +02:00
Alexis Metaireau
28c0644eb6
Plugins doc + minor design changes.
2011-06-18 01:03:53 +02:00