Commit graph

559 commits

Author SHA1 Message Date
Skami18
87c22dc7ac Pelican exits 1 or Exception.exitcode if an exception is raised 2011-09-10 11:37:19 +02:00
Alexis Metaireau
da84603558 Merge pull request #165 from nsteinmetz/patch-1
Fix #164, by "slugifying" titles (which for generated filename is also be
2011-08-30 06:34:03 -07:00
Nicolas Steinmetz
67485be240 Fix #164, by "slugifying" titles (which for generated filename is also better imho) + a few remplacement of ".rst" by the "ext" variable. 2011-08-30 15:11:30 +03:00
Alexis Metaireau
56749af1da Merge pull request #163 from n1k0/master
fixed aliased replacements were broken when using ARTICLE_PERMALINK_STRUCTURE
2011-08-22 11:33:49 -07:00
Nicolas Perriault
fc3ca7ea0e fixed aliased replacements were broken when using ARTICLE_PERMALINK_STRUCTURE 2011-08-22 19:42:42 +02:00
Alexis Metaireau
28e13be3a4 Merge pull request #159 from myano/master
checks if pdf_path exists before trying to create pdf_path
2011-08-20 07:43:11 -07:00
Michael Yanovich
5b4e148a2e Updated pelican/generators.py to check if the folder exists before
trying to create it. It will always generate an OSError if the
folder already exists even if it has the appropriate permissions.
2011-08-20 09:51:18 -04:00
Alexis Metaireau
100d94cd12 add ghp-import features to push to github pages easily 2011-08-19 23:01:01 +02:00
Alexis Metaireau
96b52a2283 issue a warning in case no timezone is defined 2011-08-18 13:58:04 +02:00
Alexis Metaireau
720b8d3168 doc: update the settings page about latest changes 2011-08-18 13:47:31 +02:00
Alexis Metaireau
bee3140fc6 doc: reorder settings 2011-08-18 13:35:53 +02:00
Alexis Metaireau
b2092fe0e7 Merge pull request #156 from Natim/master
GTM Time in ATOM feeds
2011-08-18 03:53:36 -07:00
Alexis Metaireau
f185c45c16 Merge pull request #157 from renhbo/master
Fix an unicode error in Windows.
2011-08-18 03:24:20 -07:00
renhbo
eea6c7477d Fix an unicode error on Windows platform. 2011-08-19 02:19:44 +08:00
Alexis Metaireau
36b89b3e4b Merge branch 'master' of github.com:ametaireau/pelican 2011-08-17 10:39:06 +02:00
Alexis Metaireau
e5d4e90b8f update the docs on how to view generated blog 2011-08-17 10:38:48 +02:00
Skami18
26eecf082a Removed another utf-8 related bug 2011-08-16 18:43:51 +02:00
Rémy HUBSCHER
32a6ecbcc5 Fix timezone bug for ATOM generation 2011-08-16 15:11:49 +02:00
Rémy HUBSCHER
66ca61dfbb Patch the makefile to automaticaly create the output dir if it doesn't exists, use PWD to work in different computer base_dir from scratch 2011-08-16 11:47:20 +02:00
Rémy HUBSCHER
acb65b77af GMT Time in ATOM feeds 2011-08-16 11:40:08 +02:00
Alexis Metaireau
4a6bf81b2e remove skribit support. fixes #154 2011-08-11 23:50:04 +02:00
Alexis Metaireau
1edbe044a2 Include the "pelican-quickstart" script.
This ease the creation of a new blog. I modified slightly the code wrote by @Skami18
here: https://gist.github.com/1025236/dfa695e67482477907c79ae709ab827b20b18b04

This commit also renames the import script to "pelican-import".

Fixes #129.
2011-08-11 23:34:53 +02:00
Alexis Metaireau
c73ae02170 pep8ize 2011-08-11 22:42:20 +02:00
Alexis Metaireau
0adb76d5d2 Merge pull request #155 from borgar/configurable-readers
Allow overriding reader extensions.
2011-08-11 13:42:38 -07:00
Alexis Metaireau
e9f1bb9853 add ideas 2011-08-11 11:24:41 +02:00
Alexis Metaireau
7f1cad26ba typos 2011-08-11 11:24:41 +02:00
Borgar
a5f47cfae9 Allow overriding reader extensions.
This adds an extensions setting all readers in the style of [ext]_EXTENSIONS. So for the MarkdownReader, who's extension is "md", the setting read is MD_EXTENSIONS.

The settings allow overriding the default options passed through the readers. In the case of Markdown the default values are ['codehilite','extra'], but user may change this through the setting:

MD_EXTENSIONS = ['footnotes','abbr','codehilite']
2011-08-07 23:05:58 +00:00
Alexis Metaireau
d6a2946aef Merge pull request #151 from saimn/importer
improvements for importers
2011-08-04 01:21:59 -07:00
Alexis Metaireau
4685e41173 Merge pull request #152 from mviera/master
Fixing errors in ARTICLE_PERMALINK_STRUCTURE option
2011-08-04 01:19:22 -07:00
mviera
ae4a3cb6da I have been talking with alexis and he doesn't want 'markdown' to be installed by default if it's not needed. Issue #145 2011-08-04 00:31:58 +02:00
mviera
a32dc03616 Keeping simple theme up-to-date too. Issue #145 2011-08-03 22:11:16 +02:00
Simon
7b7695509d importer - add documentation 2011-08-03 22:06:10 +02:00
mviera
e8cac3bfff I change article.slug to article.url for always referencing the disqus thread to the correct url. Issue #145 2011-08-03 22:01:45 +02:00
mviera
319b553f69 I developed the ARTICLE_PERMALINK_STRUCTURE option into the wrong method, because urls in feed are not being modified. Now, it's fixed. Issue #145. 2011-08-03 22:00:41 +02:00
mviera
a9bb789b14 Adding markdown module as requirement. Even I install pelican in a new virtualenv and i tried to execute the pelican command it shows an error such as 'No module md'. Issue #145 2011-08-03 21:59:22 +02:00
Simon
69636a9da0 importer: add an option to put files in directories with category names 2011-08-03 19:23:09 +02:00
Simon
3b37b42633 some improvements for importers:
- for dotclear: remove seconds in date, remove \\n
- fix categories for wordpress (categories is a list a string)
- refactor a bit the code between markdown and rst
2011-08-03 19:23:02 +02:00
Alexis Metaireau
79e675b911 Merge pull request #150 from borgar/limit-feeds-to-n
Configurable feeds: add an option to reduce the number of items in the feed
2011-08-03 01:58:46 -07:00
Borgar
cd277672d0 Add a setting to limit feeds to a max number of items.
This adds FEED_MAX_ITEMS, which dictates the maximum number of items allowed in a feed.
2011-08-02 23:29:34 +00:00
Alexis Metaireau
73ba522508 Thanks Manuel :) 2011-07-29 23:35:57 +03:00
Alexis Metaireau
89a48ecb1d Merge pull request #146 from mviera/master
Year and month in URL. Fixes #145
2011-07-29 13:34:23 -07:00
mviera
a13ae91f0b Adding more documentation about ARTICLE_PERMALINK_STRUCTURE in settings. Also, i deleted the try except because strftime never raises an exception. Issue #145
I set the ARTICLE_PERMALINK_STRUCTURE option as null in settings.py and remove it from pelican sample config file.
2011-07-29 22:09:09 +02:00
mviera
2609004719 I change PERMALINK_STRUCTURE to ARTICLE_PERMALINK_STRUCTURE and updating the settings.rst documentation.
Also I have implemented other options to this setting, such as the category, the date, the author, this kind of things.

Finally, I have setted the ARTICLE_PERMALINK_STRUCTURE option as null in pelican.conf.py sample file.
2011-07-29 01:11:35 +02:00
mviera
068a3d2f1d Year and month in URL. Issue #145 2011-07-27 23:47:50 +02:00
Skami18
b892f758a8 Pelican show a warning instead of raising an exception if the author of an article is not found an there is no settings file 2011-07-26 17:45:15 +02:00
Alexis Metaireau
6611107e48 little english review on theme extension 2011-07-23 16:06:58 +02:00
Skami18
09d7847c7e Modified the sphinx settings
It seems the manpages ``pelican-themes.en.1`` and
``pelican-themes.fr.1`` were only used for the Debian packages.

Unforunately, ``dh_manpages`` seems to support installation of manpages
depending of their languages, so i've changed the settings and only
``pelican-themes.1`` is generated, this avoids having to rename the
manpages before packaging...

The documentation about making themes for Pelican is now generated in
the file ``pelican-theming.1``.
2011-07-23 15:01:46 +02:00
Skami18
52df0dc47a Added the documentation for template inheritance
Requires a re-reading by someone speaking English better than me...
2011-07-23 14:53:55 +02:00
Skami18
17e7fb4509 Some changes in the templates loading system — documentation will be updated soon
-    The `simple` theme can now be extended with the syntax `{% extends "!simple/index.html" %}`
     instead of `{% extends "simple/index.html" %}` to avoid conflicts with a `simple/` folder.

-    If a template is missing in a theme, it will be replaced by the
     corresponding template of the `simple` theme, so it's possible to
     make a new theme with only two file: a `base.html` file that
     extends the `base.html` file of the `simple` theme, and a CSS
     stylesheet, for example.
2011-07-22 18:45:41 +02:00
Alexis Metaireau
53b295b980 Update the features proposed by pelican on the doc. 2011-07-22 02:12:10 +02:00