1
0
Fork 0
forked from github/pelican
Commit graph

123 commits

Author SHA1 Message Date
Alexis Metaireau
6a0937a9e8 merge the plugin branch 2012-06-10 01:14:30 +02:00
Alexis Metaireau
4d5b1ae741 Merge pull request #351 from quodlibetor/warn-on-skip
Add warnings for files skipped due to unknown status
2012-06-09 14:26:33 -07:00
Alexis Metaireau
e3919a1b82 Merge pull request #341 from m-r-r/trailing-slashes
Trailing slashes removed to avoid category bug
2012-06-09 14:22:03 -07:00
Brandon W Maister
849244f61e Add warnings for files skipped due to unknown status 2012-05-15 17:48:07 -04:00
m-r-r
0444513e90 Trailing slashes removed to avoid category bug 2012-05-12 11:49:49 +02:00
Simon
e6448567a0 add some doc in the code 2012-05-11 22:19:03 +02:00
Simon
263ba2b0fa Merge remote-tracking branch 'upstream/master' 2012-05-11 21:59:21 +02:00
Simon
ec707930ce integrate webassets 2012-05-11 21:58:10 +02:00
Alexis Metaireau
419a2159e6 Merge remote-tracking branch 'muffinresearch/master'
Conflicts:
	docs/settings.rst
	tests/test_generators.py
2012-05-11 16:17:47 +02:00
Alexis Metaireau
8a842c0de7 merge with master 2012-05-06 02:43:13 +02:00
Stuart Colville
06ba9acdb8 Pass write function to reduce duplication. Simplify logic. 2012-05-02 09:26:33 +01:00
Stuart Colville
e4f011a697 Refactor generators to aid testing 2012-04-29 10:34:20 +01:00
Stuart Colville
cc46ac5d4c Allow user to customise the save location of direct template pages from settings. 2012-04-28 18:01:19 +01:00
Meir Kriheli
17626b5474 Don't use shell=True 2012-04-28 03:46:43 +03:00
Meir Kriheli
0924a9dd73 Not pdf, but less folder 2012-04-28 03:27:30 +03:00
Meir Kriheli
f558389006 Remove redundant LESS_COMPILER setting 2012-04-28 03:25:54 +03:00
Meir Kriheli
2b93d6d855 Remove empty generate_context 2012-04-28 03:04:58 +03:00
Meir Kriheli
b73d984ec9 Merge branch 'master' of https://github.com/ametaireau/pelican 2012-04-28 00:52:45 +03:00
Meir Kriheli
ddf57ca295 Also compile less css files in theme static 2012-04-15 02:52:19 +03:00
Meir Kriheli
50f2cd295f Implement LessCSSGenerator 2012-04-15 02:20:20 +03:00
Dafydd Crosby
28a1e0f432 Fix some typos and grammar 2012-04-07 18:02:40 -06:00
draftcode
4efca13c33 Fix a bug that ArticlesGenerator doesn't see DEFAULT_CATEGORY.
When you set ARTICLE_DIR which is not equal to PATH, ArticlesGenerator
doesn't use DEFAULT_CATEGORY but use ARTICLE_DIR's dirname.
2012-03-24 11:53:07 +09:00
Andrea Crotti
0922efa371 change the way logging is done, using the standard log tree instead of
calling the module-level functions on an unitialised logging object.

This allows to
- simplify log.py
- use one logger object for each file
2012-03-20 13:01:21 +00:00
Bruno Binet
4fe67b8947 Merge remote-tracking branch 'ametaireau/plugins' into plugins
Conflicts:
	docs/settings.rst
	pelican/__init__.py
	pelican/generators.py
	pelican/settings.py
	setup.py
2012-03-20 01:07:25 +01:00
Simon
4f95b9f05c remove useless .keys() for key in dict expressions 2012-03-14 09:38:36 +01:00
Alexis Metaireau
78091bfa80 Merge pull request #238 from draftcode/feed_issue
Do not create feeds when their filenames are set to None.
2012-03-11 01:46:58 -08:00
Bruno Binet
0ca9997e10 paths for finding articles and pages are now parametrable 2012-03-11 01:22:16 +01:00
draftcode
1194764ed1 Do not create feeds when their filenames are set to None. 2012-03-11 01:30:45 +09:00
Alexis Metaireau
a7ea166fd2 fix #233 2012-03-10 12:21:54 +01:00
saghul
5e26062fd0 Fix for issue #233 2012-03-10 11:32:22 +01:00
Alexis Metaireau
6cde7fd27a PEP8-ify.
Wrap to 80 chars, sanitize imports.
2012-03-09 16:21:38 +01:00
Alexis Metaireau
df25dec30a Use the with statement when opening files. 2012-03-09 16:17:09 +01:00
Bruno Binet
8bf0a22eb0 fix encoding errors
error was:codeEncodeError: 'ascii' codec can't encode character u'\xe9' [..]
2012-03-06 16:41:36 +00:00
Kyle Fuller
c5816c9c5a Make these patches compatible with upstream master 2012-03-06 16:41:36 +00:00
Kyle Fuller
44cf2ad400 Support configurable URL's & SAVE_AS path for Author, Category and Tag 2012-03-06 16:41:35 +00:00
Kyle Fuller
a39787c1a2 Add settings to change the URL's and SAVE_AS paths
Example usage:

* ARTICLE_URL = 'posts/{date:%Y}/{date:%b}/{date:%d}/{slug}/'
* ARTICLE_SAVE_AS = 'posts/{date:%Y}/{date:%b}/{date:%d}/{slug}/index.html'

This removes CLEAN_URLS and ARTICLE_PERMALINK_STRUCTURE because these
new settings can produce the same result.
2012-03-06 16:41:35 +00:00
Kyle Fuller
ff9c786149 Create a Author class which has a url property 2012-03-06 16:39:07 +00:00
Kyle Fuller
f9ed01bb64 Create a Tag class which has a url property 2012-03-06 16:39:07 +00:00
Kyle Fuller
6754099730 Create a Category class which has a url property 2012-03-06 16:39:07 +00:00
Stéphane Raimbault
9cced6be83 Sort imports and remove trailing whitespaces 2012-02-28 17:40:13 +01:00
Stéphane Raimbault
c699172fd6 Removed useless imports 2012-02-28 17:37:17 +01:00
Stéphane Raimbault
90dab85e13 Removed execution mode of generators.py 2012-02-28 17:37:17 +01:00
Kyle Fuller
6ca3fd423b Fix a bug in the exception handler for a page reader 2011-12-24 00:57:12 +00:00
Jökull Sólberg Auðunsson
499a67912f Never fail on generating posts, just skip and log exception. 2011-11-23 20:35:45 +00:00
Marco Milanesi
48d7df72f1 refactored code and introduced a new signal in ArticlesGenerator __init__ 2011-09-07 17:08:28 +02:00
Nicolas Perriault
fc3ca7ea0e fixed aliased replacements were broken when using ARTICLE_PERMALINK_STRUCTURE 2011-08-22 19:42:42 +02: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
Skami18
26eecf082a Removed another utf-8 related bug 2011-08-16 18:43:51 +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
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