Commit graph

151 commits

Author SHA1 Message Date
Justin Mayer
65b93dbfd4 Remove trailing slash from SITEURL if present 2012-03-23 07:16:23 -07:00
Justin Mayer
6e467172e5 Merge branch 'master' into feeddomain
Conflicts:
	pelican/settings.py
	tests/test_settings.py
2012-03-22 08:29:27 -07:00
Martin Brochhaus
a9f5fdc47b Always using normal capitalization in headlines. 2012-03-18 14:57:53 +08:00
Justin Mayer
8819d02600 Allow for serving feeds from a separate domain.
This (indirectly) enables support for FeedBurner. Added docs for
FeedBurner configuration. Clarify how defining the SITEURL attribute
affects URL structure. Closes #177.
2012-03-16 20:27:26 -07:00
Andrea Crotti
74c2449d8f add version information in __init__.py and import them from setup.py
and conf.py
2012-03-16 14:27:26 +00:00
Dana Woodman
99852ebda8 MD_EXTENSIONS should be a list not a tuple. 2012-03-15 11:59:58 -07:00
Andrea Crotti
020c1400e2 add the pelican path to the sys.path, to be able to use autodoc 2012-03-15 00:23:07 +00:00
Andrea Crotti
7f8f6e8a7e the sys.path should not contain the _themes directory, which is not a
python package
2012-03-15 00:17:50 +00:00
Andrea Crotti
10fc8a733d fix warnings and errors from settings.rst 2012-03-15 00:17:01 +00: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
Alexis Metaireau
189da25c5b Merge branch 'master' of github.com:ametaireau/pelican 2012-03-11 02:50:37 +01:00
Alexis Metaireau
d43bd1dcb8 Add a way to use Typogrify to enhance the generated HTML. 2012-03-11 02:48:36 +01:00
Bruno Binet
aef7418bdf add docs for new page/article paths settings 2012-03-11 01:22:22 +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
542b8b8705 add a 'coding standards' section in the contributors' guide 2012-03-09 16:27:23 +01:00
Alexis Metaireau
a7cea63db6 Merge branch 'urls' of https://github.com/kylef/pelican 2012-03-09 11:42:21 +01:00
Alexis Metaireau
352d2047b4 MOAR TYPOGRAPHY 2012-03-06 17:57:29 +01: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
Justin Mayer
bde06c4011 Improve English documentation with enhanced clarity, grammar, and spelling 2012-03-06 06:13:17 -08:00
Jiachen Yang
3ccbe19c8a typo in docs/settings.rst#date format and locales 2012-02-28 03:37:58 +09:00
Jiachen Yang
76ee6c2149 Added document and test case for #215 2012-02-28 03:08:39 +09:00
Martin Brochhaus
67472298ca Added changes as per codereview. 2012-02-20 17:58:23 +01:00
Martin Brochhaus
52fb81a441 Added some fixes to the test suite so that it doesn't fail any more. 2012-02-20 17:39:47 +01:00
Martin Brochhaus
1ceb2745b1 Added missing documentation for MENUITEMS setting. 2012-02-20 13:18:18 +01:00
Tobias
1f4bb6a2e4 DOC: fixed typo in 'CLEAN_URLS'
was singular in docs but only works as plural
2012-02-12 18:25:51 +01:00
Alexis Metaireau
9543ce049f update the documentation to make timezone configuration clearer 2011-12-29 16:04:46 +01:00
Kyle Fuller
2be58aa51a Remove WITH_PAGINATION, only have a DEFAULT_PAGINATION setting
DEFAULT_PAGINATION can be set to False instead of using WITH_PAGINATION
2011-12-22 14:02:31 +00:00
Alexis Metaireau
4a8b3ddb75 oops, broken link 2011-11-30 21:19:42 +01:00
Alexis Metaireau
889cdd4dbd typo 2011-11-30 21:16:26 +01:00
Alexis Metaireau
df4e88ff15 add some docs written a long time ago 2011-11-30 21:11:50 +01:00
Alexis Metaireau
b0dcce01cb Don't install the venv in the sources root, this can cause troubles with the bin folder 2011-11-29 16:06:08 +01:00
Alexis Metaireau
fb9a622ca7 add CLEAN_URLS to the documentation 2011-11-27 18:08:28 +01:00
Alexis Metaireau
92b232972e add information about mardown in the FAQ 2011-11-27 18:00:29 +01: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
e5d4e90b8f update the docs on how to view generated blog 2011-08-17 10:38:48 +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
0adb76d5d2 Merge pull request #155 from borgar/configurable-readers
Allow overriding reader extensions.
2011-08-11 13:42:38 -07: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
Simon
7b7695509d importer - add documentation 2011-08-03 22:06:10 +02: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
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
Alexis Metaireau
6611107e48 little english review on theme extension 2011-07-23 16:06:58 +02:00