Commit graph

394 commits

Author SHA1 Message Date
William Light
e045515b91 add "output_file" Jinja context variable
"output_file" contains the name of the HTML file that pelican is
currently rendering.
2013-03-10 23:53:41 -07:00
Alexis Métaireau
b9e2825da6 Put ASCII-art tree into a code-block element.
Fix #766
2013-03-10 20:15:37 -07:00
Alexis Metaireau
14f11f8561 Merge pull request #753 from wking/contribute-docs-rename
docs/contribute.rst: Update tests/output generation for moved tests
2013-03-10 12:27:45 -07:00
Jered Boxman
bfaa5f9d5c Added clearification in docs for PAGE_SAVE_AS
I discussed this option in the IRC channel, because I don't think it's
very clear. When I first read the list of options I was under the
impression that Pelican could do rewriting of urls. I discovered that
this isn't the case, so I discusses this in the IRC channel and got the
encouragement to submit a pull request.
2013-03-10 14:34:17 +01:00
Talha Mansoor
a76bca9b0d Fixes the reST syntax of an example in the docs
reST example of the section "Linking to internal content" had incorrect
metadata. Moreover, time was missing from the date of both markdown and
reST example.

This was pointed out by [lefromage at #pelican](https://botbot.me/freenode/pelican/msg/2235275/)
2013-03-10 11:28:54 +05:00
W. Trevor King
2cb89ce528 docs/contribute.rst: Update tests/output generation for moved tests
This brings the docs back up to date after 547f8d2 (Move the tests
into pelican. Fix #500, 2013-04-06).
2013-03-06 09:24:11 -05:00
Eric
7cafcf6c24 Fix the tag cloud example 2013-03-05 23:27:00 -08:00
Justin Mayer
d0e9c52410 Merge pull request #623 from bbinet/url-save_as-override
Override page 'url' and 'save_as' directly from the page metadata. Fixes #400.
2013-03-04 10:11:45 -08: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
Mark Caudill
45c42dfe9a Clarify internal linking. 2013-03-03 21:12:23 -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
Justin Mayer
d0b291e509 Merge pull request #713 from vially/patch-1
Fix typo in documentation
2013-02-10 10:31:38 -08:00
Randall Degges
7ec9ea92aa Fixing issue #712.
This commit adds documentation to the getting started guide which describes that
articles must contain a manually set 'date' metadata attribute unless the
DEFAULT_DATE setting is specified.

This fixes some incorrect documentation behavior discussed in the ticket.
2013-02-09 21:29:51 -08:00
Valentin-Costel Hăloiu
64ce845bae Fix typo 2013-02-10 00:38:18 +02:00
dave mankoff
5f5b300ba5 fix documentation 2013-02-09 09:51:02 -05:00
dave mankoff
8ba6a4d19d fix documentation 2013-02-09 09:27:45 -05:00
dave mankoff
d5bfec3a8b update documentation and remove commented out code 2013-01-28 22:25:15 -05:00
dave mankoff
e6a4fe3fc4 fix grammar 2013-01-28 21:50:09 -05:00
dave mankoff
bf6f16e383 add documentation for html reader 2013-01-28 21:50:09 -05:00
Alexis Metaireau
c8da208a91 Merge pull request #691 from webdesignhero/master
Related Post Plugin Example
2013-01-23 04:05:42 -08:00
Bruno Binet
ffdf8babbf Merge pull request #651 from traeblain/webasset-config
Update webassets plugin to allow user to pass configuration settings to webassets
2013-01-21 14:32:12 -08:00
Simon
688dee2dca Improve importer documentation. 2013-01-21 23:19:23 +01:00
Bruno Binet
d9855ae346 Merge pull request #662 from wking/rich-urlwrapper-comparisons
contents: Add rich comparisons to URLWrapper for easy sorting
2013-01-21 13:30:02 -08:00
Bruno Binet
abc73d9d98 Merge pull request #653 from alefteris/docs-depedencies-update
Docs depedencies update
2013-01-21 13:12: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
W. Trevor King
9b574361c9 doc: convert Markdown example to source_path and modernize 2013-01-18 07:57:53 -05:00
W. Trevor King
656b5150ff docs/themes.rst: Document URLWrapper sorting for use in Jinja templates 2013-01-15 22:52:01 -05:00
Alexis Métaireau
2f7479374b Merge branch 'master' of github.com:getpelican/pelican 2013-01-15 12:33:50 +01:00
Bruno Binet
e5be4b7e40 Merge pull request #658 from elemoine/github
Improve Publishing to GitHub doc section
2013-01-11 07:12:34 -08:00
Dirk Makowski
d1b238638c Update the "how to contribute" docs with py3k info. 2013-01-11 03:21:06 +01: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
Peter Desmet
696caac9b0 Fixed a typo
BeatifulSoup -> Beautiful Soup
2013-01-07 10:49:51 +01: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
Éric Lemoine
369bb476e9 Improve Publishing to GitHub section of the doc 2013-01-01 01:01:19 +01:00
Thanos Lefteris
a0b29d980f PyPI links for pelican depedencies 2012-12-25 23:59:53 +02:00
Thanos Lefteris
30c8825fa2 Docs update of the pelican core install depedencies 2012-12-25 23:36:44 +02:00
Alexis Metaireau
d879218c27 Merge pull request #620 from rskvazh/patch-1
Update docs/plugins.rst
2012-12-18 01:15:50 -08:00
Alexis Metaireau
98c8db568b Merge pull request #577 from davidjb/import-improvements-slug
Provide slug storage option for posts during Pelican import
2012-12-11 03:52:12 -08:00
David Beitey
b4c5d7cf62 Store slugs in posts by default on Pelican import 2012-12-11 21:44:40 +10:00
Trae Blain
b0ff693839 Updated plugins documentation to include actual callable names of each plugin included. 2012-12-07 14:40:44 -06:00
Bruno Binet
802c9d1111 add docs for save_as/url override from metadata feature 2012-12-07 01:02:44 +01:00
Roman Skvazh
694f318614 Update docs/plugins.rst
Change yuicompressor to yui_js and yui_css
2012-12-06 21:15:25 +04:00
Bruno Binet
9f66333d77 fix rst issue 2012-12-04 02:08:13 +01:00
Justin Mayer
a07b56c02b Doc fixes and improvements 2012-12-03 16:31:55 -08:00
Alexis Métaireau
be2a3f4030 bump version number 2012-12-04 01:27:16 +01:00
Alexis Métaireau
89fd11d582 tagging 3.1 2012-12-04 01:21:57 +01:00
Bruno Binet
8bb86d3e5d revert #523
we don't need a new MARKDOWN_EXTENSIONS setting because the equivalent setting
MD_EXTENSIONS already exists.
2012-12-03 22:35:11 +01:00
Justin Mayer
6236e8f66b Updated changelog to include recent changes 2012-12-03 12:59:31 -08:00
Bruno Binet
f86e1128f0 docfix: fix example of FILENAME_METADATA regexp 2012-12-03 10:20:43 +01:00