Tarek Ziade
7127676f71
added a static pages generator
...
Conflicts:
pelican/__init__.py
pelican/generators.py
pelican/settings.py
2012-10-30 09:56:08 +01:00
Martin Brochhaus
47c972e21a
Added USE_FOLDER_AS_CATEGORY setting.
...
This allows users to organize their files in ways where the subfolder name
would not make a good category name (i.e. /2012/09/). Set this to ``False``
and the subfolder will no longer be used as a standard category,
`DEFAULT_CATEGORY` will be used instead.
2012-10-28 20:43:45 +01:00
jawher
a11726783e
TRANSLATION_FEED is now split into TRANSLATION_FEED_ATOM and TRANSLATION_FEED_RSS to match the other feed configuration keys
...
Incidentally, Pelican can now generate RSS translation feeds.
2012-10-22 22:52:06 +02:00
Bruno Binet
4029f2ec82
refactoring so that command line options override settings
...
and Pelican class now accepts a single parameter ``settings``
2012-10-16 01:35:39 +02:00
Bruno Binet
136e2e46d8
remove useless default_settings param in configure_settings
2012-10-15 22:49:24 +02:00
Alexis Métaireau
17dc36aad6
merge upstream
2012-10-12 23:22:55 +02:00
Alexis Metaireau
48625964f1
Merge pull request #510 from nrocco/sourcegen
...
New source file .text generator
2012-10-12 13:57:18 -07:00
Stéphane Bunel
ee46becaf9
FIX: Standardizing "extentions" to "extensions"
2012-10-03 22:29:59 +02:00
Nico Di Rocco
c53a06a5d5
Simplified configuration option to be more flexible
...
As @ametaireau suggested: instead of having logic that prepends the
OUTPUT_SOURCES_EXTENSION with a '.' we allow the user more
flexibility to control the extension that can be used.
2012-10-03 22:06:45 +02:00
Stéphane Bunel
45c836fdf5
Update docs and tests for MARKDOWN_EXTENTIONS
2012-09-28 23:09:57 +02:00
Nico Di Rocco
a7dd21ffaf
Added a new setting OUTPUT_SOURCES_EXTENSION
...
Using this configurable setting users can control what extension will be
appended to filenames by the SourcesGenerator.
The default is to use the ``.text`` extension.
2012-09-28 14:59:05 +02:00
stephane
4f5253bcb3
Add MARKDOWN_EXTENTIONS configuration parameter to enable Markdown extentions of your choice.
...
Ex: MARKDOWN_EXTENTIONS = [ 'toc', ] enable TOC markup to generate Table of Contents.
2012-09-27 19:49:42 +02:00
Nico Di Rocco
0a1a868b37
Added sourcefile generator that generates .text files
2012-09-15 23:11:09 +02:00
Rachid Belaid
c462237b9d
Add new setting EXTRA_TEMPLATES_PATHS
...
This setting allow to use template which are not in the theme.
Should help to build more generic themes around the content.
2012-09-03 00:57:23 +01:00
tBunnyMan
644fd4ed5f
Deep copy _DEFAULT_SETTINGS instead of linking.
...
This caused the defaults to be overwritten and edge case bugs with tests.
The test for empty setting needed to be updated to reflect that the method
for setting up the local settings sets extra settings.
2012-08-29 13:36:15 -07:00
Julian Berman
7cb18a088e
Reimplement settings loading to preserve __file__
2012-08-01 13:36:47 -04:00
Alexis Metaireau
8007c20c79
Merge pull request #418 from tbunnyman/WarnOnFeedGeneration#383
...
Update: De-appreciate FEED for FEED_RSS & FEED_ATOM
2012-07-20 03:53:18 -07:00
tBunnyMan
fe91caf325
Changed wording of the setting to NEWEST_FIRST_ARCHIVES
...
Also updated documentation and tested to make sure behavior matches expected wording
2012-07-18 11:18:48 -07:00
tBunnyMan
5f958ae84d
Refactor atom feed names for clarity
...
FEED -> FEED_ATOM
TAG_FEED -> TAG_FEED_ATOM
CATEGORY_FEED -> CATEGORY_FEED_ATOM
2012-07-16 09:35:05 -07:00
tBunnyMan
79e480a894
Change default REVERSE_ARCHIVE_ORDER to true
...
Updated documentation and updated tests to reflect correct default order
Fixes #304
2012-07-14 17:53:10 -07:00
tBunnyMan
d9817f9a96
Test for FEED & FEED_RSS before generation.
...
Then we bypass all feed generation of both are set to None or throw a warning if SITEURL is unset.
Updated all documentation, to make sure the usage and warning is clear.
2012-07-14 17:05:04 -07:00
Bruno Binet
fe9388a7a4
Merge remote-tracking branch 'origin/master' into fix-functional-tests
...
Conflicts:
tests/support.py
2012-07-05 01:22:31 +02:00
Bruno Binet
36be150f20
replace FALLBACK_ON_FS_DATE by DEFAULT_DATE
...
DEFAULT_DATE allows to specify any default date as a tuple in addition to the
fallback on filesystem mtime check
2012-07-05 00:12:05 +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
dave mankoff
9fb5969c59
Allow settings to specify a summary length, optionally allowing unlimited summary length
2012-06-10 17:58:05 -04:00
Alexis Metaireau
7682f657a4
don't do anything with webassets if the setting is set to false (default)
2012-06-10 21:46:32 +02:00
Alexis Metaireau
4ed8c6a09c
don't test webassets key if it can be unset
2012-06-10 13:32:23 +02:00
Alexis Metaireau
6a0937a9e8
merge the plugin branch
2012-06-10 01:14:30 +02:00
Simon
a6788f83c2
integrate webassets
2012-05-07 17:15:09 +02:00
Alexis Metaireau
4370b51f02
Merge pull request #318 from MeirKriheli/master
...
Generator to compile less css files
2012-05-05 17:23:55 -07:00
Pavel Puchkin
feb1dcc773
Use {slug} instead of {name} for category URL and FILENAME formatting
2012-05-01 16:54:39 +11: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
Justin Mayer
602990b80e
Use "endswith" to detect trailing slash on SITEURL
2012-04-18 07:16:51 -07:00
Meir Kriheli
50f2cd295f
Implement LessCSSGenerator
2012-04-15 02:20:20 +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
Kyle Fuller
0ed6cf7743
Follow the PATH variable in settings
2012-03-23 09:05:47 +00: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
Justin Mayer
1623394da8
Add tests for pull request #262
2012-03-22 07:58:04 -07: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
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
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
Alexis Metaireau
d6be2fb44c
Put deprecation code in a separate place
2012-03-11 01:59:22 +01:00
Bruno Binet
0ca9997e10
paths for finding articles and pages are now parametrable
2012-03-11 01:22:16 +01:00
Alexis Metaireau
1c219d14bb
Use the slug as default URL for tags and authors.
2012-03-11 01:16:32 +01:00
Alexis Metaireau
8499ce3340
add some url and saveas settings that weren't present in the default settings dict
2012-03-10 13:23:50 +01:00