1
0
Fork 0
forked from github/pelican
Commit graph

93 commits

Author SHA1 Message Date
tBunnyMan
d589450200 Change behavior of DELETE_OUTPUT_DIRECTORY to purge contents of the directory, not the directory itself.
Added Debug level logging for each deletion
Added error level logging when a delete has an exception
Built a test case for clean_output_directory in tests.utils.py
Updated `settings` in documentation to reflect new behavior
Removed the tip from the bottom of getting started since this setting should no longer break web servers pointing to the output directory.
2012-07-04 12:32:20 -07:00
Alexis Metaireau
f7fcbe7dc9 Merge pull request #373 from asselinpaul/master
Added GoSquared support
2012-06-15 15:31:24 -07:00
asselinpaul
44cadf7c1f added GoSquared support
GoSquared(analytics) support added in default themes and documentation
(in French and English)
2012-06-14 23:04:23 +02:00
dave mankoff
1d5228388b git pull git://github.com/ametaireau/pelican.git 2012-06-11 10:21:13 -04:00
dave mankoff
c6f1d0aada fix SUMMARY_MAX_LENGTH, document it, and test it 2012-06-11 08:39:13 -04:00
Alexis Metaireau
6a0937a9e8 merge the plugin branch 2012-06-10 01:14:30 +02:00
Simon
fed8e8b331 documentation for webassets 2012-05-12 23:48:57 +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
Stuart Colville
df7b2c968e Add documentation for DIRECT_TEMPLATES and PAGINATED_DIRECT_TEMPLATES 2012-05-09 23:24:31 +01:00
Stuart Colville
c7de5e6bff add docs for customised save location for direct template pages and switch to notes directive for notes 2012-04-28 18:02:10 +01:00
Meir Kriheli
f558389006 Remove redundant LESS_COMPILER setting 2012-04-28 03:25:54 +03:00
Meir Kriheli
b73d984ec9 Merge branch 'master' of https://github.com/ametaireau/pelican 2012-04-28 00:52:45 +03:00
Pavel Puchkin
9dcf612f9d Fixes after review 2012-04-18 23:07:57 +11:00
Pavel Puchkin
55d7cf438b Note in docs about previous commit 2012-04-18 19:04:32 +11:00
Meir Kriheli
4793cdfab3 Fix typo in less generator docs 2012-04-16 22:55:50 +03:00
Kyle Fuller
e694cdc2b3 docs: Fix some sphinx warnings, and correctly format the french FAQ 2012-04-15 15:08:06 +01:00
Kyle Fuller
597233c49b Fix a broken link in the docs 2012-04-15 15:01:03 +01:00
Meir Kriheli
a9f798eae1 Document less css generator 2012-04-15 00:41:38 +03:00
Justin Mayer
34310a61f5 Feed link inside feed should use FEED_DOMAIN
The initial work on enabling feeds to be served from a different domain
than the site domain focused on the feed link displayed inside the
base template. But there is also a feed link inside the generated feed
itself, which this commit updates to use the FEED_DOMAIN value (if
defined).

Also, it turns out that the FEED_MAIN_URL setting is not necessary; the
existing FEED and FEED_RSS functionality is simpler and can address the
targeted use case just as easily. That attribute has been removed from
the settings and template, along with corresponding changes to the docs.
Refs #177.
2012-03-31 08:10:40 -07:00
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
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
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
Dana Woodman
99852ebda8 MD_EXTENSIONS should be a list not a tuple. 2012-03-15 11:59:58 -07: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
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
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
fb9a622ca7 add CLEAN_URLS to the documentation 2011-11-27 18:08:28 +01: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
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
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
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