Commit graph

2,102 commits

Author SHA1 Message Date
Justin Mayer
f6d012adf8 Merge pull request #1220 from saimn/misc
Clarify docs about the DIRECT_TEMPLATES _SAVE_AS and _URL settings.
2014-01-05 14:53:11 -08:00
Simon Conseil
6264cf8916 Clarify docs about the DIRECT_TEMPLATES _SAVE_AS and _URL settings. 2014-01-05 23:37:44 +01:00
Simon Conseil
fb4b894b77 More pep8 fixes and refactor the check for old settings. 2014-01-05 23:34:46 +01:00
Simon Conseil
18e6ec9f02 Simplify a bit pagination code. 2014-01-05 23:34:46 +01:00
Simon Conseil
c90a62ea13 pep8 fixes 2014-01-05 23:34:46 +01:00
Justin Mayer
226672da9f Merge pull request #1219 from iurisilvio/categories_url
Set CATEGORIES_URL and CATEGORIES_SAVE_AS
2014-01-05 13:19:44 -08:00
Iuri de Silvio
fb1cfc35bf Change CATEGORIES_URL and CATEGORIES_SAVE_AS docs to
make it consistent with TAGS_URL and TAGS_SAVE_AS.

Add default values to CATEGORIES_URL and CATEGORIES_SAVE_AS.
2014-01-05 18:34:23 -02:00
Justin Mayer
b25001333d Merge pull request #1214 from hrbonz/article_generator_write_article
Add a signal on article writing
2014-01-05 09:03:09 -08:00
Justin Mayer
f73484a4f4 Merge pull request #1215 from justinmayer/typogrify
Use the actively maintained typogrify-web package
2014-01-03 15:02:43 -08:00
Justin Mayer
127f60c3e9 Update Travis config with new Typogrify package 2014-01-03 14:27:19 -08:00
Justin Mayer
505852c04c Use the actively maintained typogrify-web package
The Typogrify library is no longer actively maintained by the
original author. These changes switch Pelican over to a new fork that
will receive more consistent updates going forward.
2014-01-03 08:51:52 -08:00
Stefan hr Berder
f750f38d60 add a signal on article writing 2014-01-03 05:03:25 +01:00
Justin Mayer
0b3dc9db21 Merge pull request #1190 from w-vi/quickstart-fix1182
Fix for issue #1182
2013-12-23 13:03:49 -08:00
wvi
71103ef2c1 Fix #1182# 2013-12-23 21:32:10 +01:00
Justin Mayer
1e203e955a Merge pull request #879 from joeshaw/post-id
Wordpress import error on empty <wp:post_name>
2013-12-18 18:24:16 -08:00
Justin Mayer
6ab890ddb7 Merge pull request #1186 from mhrivnak/patch-1
Fix a typo in documentation
2013-12-15 20:22:42 -08:00
Michael Hrivnak
1976eac1bf Fixing a typo in documentation 2013-12-15 21:13:03 -05:00
Justin Mayer
3715749cc6 Minor wording changes in develop_server.sh 2013-12-11 21:09:02 -08:00
Kyle Fuller
da690dfc37 Python-Markdown quote's URL's, we need to unquote to use on filesystem
Fixes #1143
Closes #1095
Closes #1149
2013-12-09 18:13:43 +00:00
Justin Mayer
e10fe42928 Merge pull request #1181 from jculpon/ghpages-config
Support publishing to personal GitHub Pages sites in quickstart
2013-12-06 18:18:27 -08:00
Jamie Culpon
c495502c8f Support publishing to personal pages sites in quickstart
Previously pelican-quickstart would assume that the site it created for GitHub
Pages should be published to the gh-pages branch. This is correct for project
pages, but not correct for personal pages. Personal pages, which live in a
user's special username.github.io repository, are instead deployed to the
master branch. This means that if you did pelican-quickstart and tried to
publish your new personal site with make github you'd see nothing (or whatever
old pages site you had floating around in master).

ghp-import already supports publishing to different branches, so publishing
to the correct branch is just a matter of correct configuration and updating
the Makefile to pass the branch along to ghp-import. pelican-quickstart now
asks if the user wants to publish to GitHub Pages, and if so, asks if this
is a personal page and chooses the correct branch appropriately. I preferred
this approach to prompting for an arbitrary branch because I felt that
choosing the branch would feel more intimidating to someone using
pelican-quickstart for the first time.

This essentially ports changes I made to my personal pages site at
jculpon@82cae477a9e8712b90654f6432464369ebcc7ae5
2013-12-06 17:39:51 -08:00
Justin Mayer
257f9ce1ed Merge pull request #1177 from tcg/tcg/pep8-in-conf
Update spacing in pelicanconf.py.in
2013-12-05 20:10:55 -08:00
Justin Mayer
2dede23a3d Merge pull request #1179 from jculpon/draft-casing
Make marking articles as drafts case-insensitive
2013-12-04 10:59:45 -08:00
Jamie Culpon
c9b84abe46 Make marking articles as drafts case-insensitive
Previously if you tried to mark an article as a draft by using a different
casing (for example, draft) you would get a warning when building:
`Unknown status Draft for file foo.md, skipping it.` This uses a
case-insensitive comparison when looking at article status instead. I
believe this behavior is a little easier for new Pelican users.
2013-12-04 09:32:52 -08:00
Joe Shaw
eeae09be5e wordpress importer: fallback onto wp:post_id if wp:post_name is empty 2013-12-04 09:46:44 -05:00
Kyle Fuller
44ef4d3eaa Contributing document is reStructuredText not Markdown. Fix formatting 2013-12-04 08:10:26 +00:00
Kyle Fuller
4e6a600b97 Link to PEP8 in CONTRIBUTING guide
It won't be obvious to a non-pythonist what this is.
2013-12-04 08:07:26 +00:00
Tommy George
082ce1dd19 Update pelicanconf.py.in
pep8 issues
2013-12-03 09:48:10 -06:00
Justin Mayer
f4e78d7254 Merge pull request #1144 from idning/master
Check IGNORE_FILES on get_files. Closes #1130.
2013-11-27 16:52:03 -08:00
Justin Mayer
a3cb64c320 Merge pull request #642 from kdeldycke/inline-links-import
Remove `--reference-links` parameter from pelican-import
2013-11-26 07:12:54 -08:00
Kevin Deldycke
83e4d35b44 Produce inline links instead of references. 2013-11-26 10:04:15 +01:00
Justin Mayer
8005f675a7 Merge pull request #1168 from mitchtbaum/patch-1
Add ARCHIVES_URL to settings.rst
2013-11-23 12:24:12 -08:00
Mitchell Tannenbaum
add9a0790d Added ARCHIVES_URL to settings.rst 2013-11-22 19:31:09 -05:00
Justin Mayer
4e3779ae1d Merge pull request #1159 from jcramb/patch-1
Add CATEGORIES_URL and CATEGORIES_SAVE_AS to docs
2013-11-21 15:45:47 -08:00
Justin Mayer
f832a63501 Merge pull request #1161 from florianjacob/modified_no_default
The modified attribute no longer has a default value.
2013-11-20 08:56:11 -08:00
Kyle Fuller
1592a45db8 Add 'adoc' as a file extension for asciidoc
This is to match the behaviour that GitHub have
2013-11-19 17:41:33 +00:00
Kyle Fuller
ba0f07cc1f Merge pull request #1147 from woshilapin/master
Add 'asciidoc' to the ASCIIDoc possible extensions
2013-11-19 09:39:36 -08:00
Kyle Fuller
e9a78b8ccb Merge pull request #1163 from salilpa/patch-1
For creating a CNAME, directory name should be extra
2013-11-19 09:35:37 -08:00
Salil Panikkaveettil
97766ba1f4 For creating a CNAME, directory name should be extra
The name of the directory do not match subsequent commands. hence renaming extras to extra. A one character change
2013-11-19 16:49:37 +05:30
Florian Jacob
bd9d1b9539 The modified attribute no longer has a default value.
This allows for templates using {% if article.modified %}
instead of {% if article.modified != article.published %} .
2013-11-17 23:40:11 +01:00
Justin Mayer
3b0823f5e6 Build Pelican wheels in universal format
Including a binary wheel when uploading Pelican to PyPI will speed up
installation for the Pelican community. This change ensures that the
Pelican wheel is compatible with all supported Python versions. For more
information, see: https://pypi.python.org/pypi/wheel
2013-11-13 13:44:28 -08:00
John Cramb
da66245729 Update settings.rst
Added missing CATEGORIES_URL and CATEGORIES_SAVE_AS settings to the table.
2013-11-13 14:15:08 +11:00
Justin Mayer
ad74464e94 Merge pull request #1140 from gpoo/fix-invalid-atom-feed-uid
Fix #1039 Atom feed for sites using HTTPS or a subdirectory
2013-11-12 17:56:13 -08:00
Justin Mayer
350706b2f0 Merge pull request #1148 from florianjacob/modified_metadata
Added a new ''modified:' metadata tag
2013-11-09 15:34:51 -08:00
Florian Jacob
4b2fcb09a4 Added a new ''modified:' metadata tag to be able to specify the
publication time and date and the last modified time and date
independently.

This makes it possible to access the last updated date with {{ article.locale_modified }} in templates.
Additionally, an already delivered feed entry can be corrected by changing the modified date and time, as it is used for atom:update
/ rss pubDate field now.
2013-11-10 00:14:55 +01:00
Justin Mayer
c8f5eb54db Merge pull request #1151 from malept/html-reader-non-conforming-meta-tags
Log a warning when the HTML reader encounters a nonconformant meta tag
2013-11-09 14:04:38 -08:00
Mark Lee
35375b19ff Log a warning when the HTML reader encounters a nonconformant meta tag
Instead of throwing an exception and skipping the HTML file, log a
warning with a message which makes it more obvious as to what happened.
2013-11-08 14:37:07 -08:00
Justin Mayer
455c159b48 Various fixes to theme documentation 2013-11-07 11:05:22 -08:00
Alexis Metaireau
9fe3d3c937 Merge pull request #1150 from madewulf/master
Add doc about use of metadata per article in custom templates
2013-11-07 05:02:03 -08:00
Martin De Wulf
dc0edb2b2b Add doc about use of metadata per article in custom templates 2013-11-07 13:41:19 +01:00