Commit graph

39 commits

Author SHA1 Message Date
Justin Mayer
70a72545ce Add content_object_init to list of signals 2013-04-20 09:08:46 -07:00
Justin Mayer
8be7c0dbae Minor documentation improvements 2013-04-16 10:13:47 -07:00
Deniz Turgut
c4b3ad58e8 remove plugins, update docs and update dependecies 2013-04-12 23:39:39 -04:00
Deniz Turgut
c2924402ad Fix for issue #428: Use PLUGIN_PATH properly 2013-04-05 02:39:12 -04:00
Deniz Turgut
8710982d2a fixed related_posts plugin 2013-03-26 23:17:59 -04:00
Eric
6f5d8eae96 Relative URL issues with the related post examples
I noted that if you set the `ARTICLE_URL` site variable to have some depth and just create relative links, they will not link correctly.

by prefacing the link with `{{ SITEURL}}/` it seems to ensure proper links are created and works with the `make devserver` mode
2013-03-03 22:18:59 -08:00
dave mankoff
3f4406dd6b support inline summary specification
update documentation

change summary cutoff to a plugin

remove backup file

fix 3.2 tests

update summary plugin initialization and documentation

update documentation

fix documentation formatting
2013-02-12 22:35:02 -05: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
Alexis Metaireau
c8da208a91 Merge pull request #691 from webdesignhero/master
Related Post Plugin Example
2013-01-23 04:05:42 -08:00
Eric
0a6294a2a3 More clear example for related posts
The existing related posts example doesn't show properties for the collection, this could be confusing to individuals who are not programmers, because as it was the code would render five bullet points.

I am also looking to add some type of loop control or if statement to the loop to detect duplicate, I tried t a dictionary sort filter through jinja, bu that through an error, the following is not guarantted to work then:


		{% set LASTARTICLE = "notset" %}
		{% if article.related_posts %}
			<ul>
			{% for related_post in article.related_posts|dictsort(false, 'url')  %}
				{% if not (LASTARTICLE == related_post.url) %}
				   <li><a href="{{ related_post.url }}">{{ related_post.title }}</a></li>
				{% endif %}
				{% set LASTARTICLE = related_post.url %}
			{% endfor %}
			</ul>
		{% endif %}

the dicsort does not work (is this not a dict, I'm not a python guy so I'm just hacking at it.
2013-01-20 17:27:28 -06:00
Trae Blain
a71465217b Update webassets plugin to allow user to pass configuration settings to Webassets through their settings file. Also removed language about DEBUG not compiling CSS since as of at least webassets 0.8 this is no longer an issue. 2013-01-02 16:26:39 -06:00
Alexis Metaireau
d879218c27 Merge pull request #620 from rskvazh/patch-1
Update docs/plugins.rst
2012-12-18 01:15:50 -08:00
Trae Blain
b0ff693839 Updated plugins documentation to include actual callable names of each plugin included. 2012-12-07 14:40:44 -06:00
Roman Skvazh
694f318614 Update docs/plugins.rst
Change yuicompressor to yui_js and yui_css
2012-12-06 21:15:25 +04:00
Justin Mayer
a07b56c02b Doc fixes and improvements 2012-12-03 16:31:55 -08:00
Bruno Binet
3342d3b9b9 Added some documentation about the gzip plugin. 2012-11-29 15:00:44 +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
f413a8da79 Change webassets configuration for relative urls.
Set the ASSET_URL to be relative to the 'theme/' url, which requires to use
{{ SITEURL }}/{{ ASSET_URL }} in the template and make it works with both
relative and absolute urls.
2012-11-20 23:42:52 +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
fb562ec7d3 add docs for article_generate_preread signal 2012-11-16 08:09:35 -08:00
Simon
4c15ec9f86 Move webassets doc to the plugins page 2012-11-07 00:18:00 +01: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
51c08601dc oops 2012-10-13 01:10:52 +02:00
Alexis Métaireau
299277b140 merge rachid changes 2012-10-12 23:31:37 +02:00
Justin Mayer
c659695c5d Add a list of plugins to the docs. Closes #493. 2012-10-12 23:01:50 +02:00
Justin Mayer
9dcf4e5438 Eliminate extraneous whitespace 2012-10-12 23:01:50 +02:00
Nico Di Rocco
31afafda0f Added possible uses for the finalized signal to the docs 2012-10-12 23:01:50 +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
966065767a Added description for the finalized signal in the docs 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
Justin Mayer
24d5a6053e Various fixes and improvements to the docs 2012-08-01 18:20:12 -07:00
Joshua Adelman
597dba1391 Added signals to plugin for pages generation 2012-07-19 20:59:48 -04:00
Justin Mayer
9ad93d36a0 Convert code in docs to inline literals
Most of the references to code and settings in the docs were wrapped
in single tickmarks (`), while reStructuredText syntax actually calls
for double tickmarks for inline literals, which are normally rendered
as monospaced text with spaces preserved. Converted the relevant
instances to inline literals, along with some other minor fixes.
2012-07-01 10:52:39 -07:00
Bruno Binet
7cd4d28bb2 better plugins doc 2012-03-20 23:31:04 +01:00
Bruno Binet
229ebbbcbf plugins branch is planned to be merged for 3.0 2012-03-20 01:26:26 +01:00
Marco Milanesi
462e637e69 updated doc 2011-10-19 11:57:37 +02:00
Marco Milanesi
948ef452ca documentation for the github activity plugin 2011-09-07 18:55:37 +02:00
Alexis Metaireau
28c0644eb6 Plugins doc + minor design changes. 2011-06-18 01:03:53 +02:00