1
0
Fork 0
forked from github/pelican
Commit graph

639 commits

Author SHA1 Message Date
Stéphane Bunel
ee46becaf9 FIX: Standardizing "extentions" to "extensions" 2012-10-03 22:29:59 +02:00
Stéphane Bunel
45c836fdf5 Update docs and tests for MARKDOWN_EXTENTIONS 2012-09-28 23:09:57 +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
Alexis Metaireau
7828614459 Merge pull request #471 from nrocco/master
New signal called 'finalized'
2012-09-25 15:03:38 -07:00
Alexis Metaireau
32429d3091 Merge pull request #488 from dmdm/relative_urls_for_webassets
Patch to allow relative ASSET_URL
2012-09-25 15:03:00 -07:00
Alexis Metaireau
ea97e9a9a8 Merge pull request #508 from infinitylx/CyrilicPdf
Cyrilic pdf
2012-09-25 14:54:55 -07:00
Alexis Metaireau
8473a72ee5 Merge pull request #515 from remram44/master
Escaping values from quickstart
2012-09-25 14:51:54 -07:00
Chris Streeter
36e86a5854 Apply the string formatting to {TAG,CATEGORY}_FEED urls. 2012-09-23 13:55:22 -07:00
Remi Rampin
b1099477f9 Fixed escaping in files generated from quickstart
Variables are properly escaped before they are replaced in the
templates.
2012-09-17 22:48:11 -04:00
Rémy HUBSCHER
6466bb4384 fix-pelican-rsync_upload-makefile 2012-09-17 14:47:05 +02:00
Nico Di Rocco
81d6d85461 Merge branch 'master' of git://github.com/getpelican/pelican 2012-09-11 22:11:59 +02:00
Justin Mayer
161f60e569 Add a list of plugins to the docs. Closes #493. 2012-09-11 06:50:33 -07:00
epatters
1da88a647a BUG: Typogrify not applied to pages. 2012-09-08 21:39:10 -07:00
Wladislaw Merezhko
8b44fa6a2d Add two new parameters for creating pdf
* PDF_STYLE - name of custom style to use when generating pdf
* PDF_STYLE_PATH - path where custom style is located
2012-09-08 18:24:15 +03:00
Wladislaw Merezhko
0c2625e59d Change name of utils.open function to pelican_open and refactor this change across project. 2012-09-08 13:07:51 +03:00
Nico Di Rocco
75312305b9 Merge branch 'master' of git://github.com/getpelican/pelican 2012-09-07 08:49:00 +02:00
Wladislaw Merezhko
1ca2a77c05 Merge https://github.com/getpelican/pelican 2012-09-07 08:01:05 +03:00
Alexis Metaireau
8dcc503bc0 Merge pull request #468 from m-r-r/master
New signal and new plugin
2012-09-02 09:30:29 -07:00
m-r-r
229b0e4dcc Sitemap plugin & get_generators signal
This is a combination of 13 commits:

1. New signal for registering custom generators
2. New plugin: pelican.plugins.sitemap
3. pelican.plugins.sitemap: more settings
4. pelican.plugins.sitemap: translations are indexed
5. pelican.plugins.sitemap: added documentation
6. pelican.plugins.sitemap: added XML DTD & W3C dates
7. pelican.plugins.sitemap: removed a <changefreq> bug
8. the `get_generators` can now return a tuple
9. pelican.plugins.sitemap: cleaned the code
10. pelican.plugin.sitemap: settings changes
11. sitemap plugin: improved configuration & documentation
12. sitemap plugin: :set spell
13. sitemap plugin: removed useless whitespaces
2012-09-02 18:17:22 +02:00
Ian Cordasco
b911972716 Add Gittip to social icons.
This allows someone to include their gittip link so people can donate to them.
2012-08-31 23:12:09 -04:00
Nico Di Rocco
680e04b4a1 Merge remote-tracking branch 'upstream/master' 2012-08-31 22:04:05 +02:00
Alexis Metaireau
88555de28c Merge pull request #490 from tbunnyman/fixDEFAULT_CONFIGoverwrite
Deep copy _DEFAULT_SETTINGS instead of linking.
2012-08-30 15:08:28 -07: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
the Bunny Man
fb8a069d4a Merge pull request #476 from tbunnyman/fixAutorunInfLoop
Fix autorun inf loop
2012-08-29 08:58:19 -07:00
Dirk Makowski
0ec0cf9d0e Patch to allow relative ASSET_URL
Previously, webassets' ASSET_URL always was absolute.
This patch allows a relative ASSET_URL, depending on Pelican's
RELATIVE_URLS setting.

Hint for templates:
-------------------
Current version of webassets seem to remove any relative
paths at the beginning of the URL. So, if RELATIVE_URLS
is on, ASSET_URL will start with 'theme/', regardless if we
set assets_url here to './theme/' or to 'theme/'.
XXX However, this breaks the ASSET_URL if user navigates to
a sub-URL, e.g. if he clicks on a category. To workaround this
issue, I use
    <link rel="stylesheet" href="{{ SITEURL }}/{{ ASSET_URL }}">
instead of
    <link rel="stylesheet" href="{{ ASSET_URL }}">

Maybe this hint is worth to be included in the documentation.
I have it also written as comments in the source.
2012-08-28 00:50:17 +02:00
Justin Mayer
000210d875 Improve devserver durability. Refs #473.
Three changes:

1. Fix inconsistent "pwd" behavior by using make's $(CURDIR) builtin.
2. Change bash shebang to the more-portable form.
3. Tell users when Pelican and SimpleHTTPServer have been backgrounded.
2012-08-27 13:09:25 -07:00
tBunnyMan
a37ba369ef Implemented better "valid files not found" behavior.
Used an exception so show error state.
Used a bool flag to make sure the error is only shown once PER error.
Updated tests to check for the correct Exception raised
2012-08-23 12:44:22 -07:00
tBunnyMan
86da6d1f2e Check for value error caused by no valid files found with files_changed
This causes an infinite loop when in auto-reload
Fix #467
Fix #451
Fix #443
2012-08-23 11:05:07 -07:00
tBunnyMan
62f190d574 use lowercase pwd since only Mac OS X allows uppercase commands
Fix #473
2012-08-23 07:58:39 -07:00
Nico Di Rocco
e9a0717aea Added a new signal finalized that is dispatched when pelican finishes.
This signal can then be used for post processing.
2012-08-22 23:05:07 +02:00
Wladislaw Merezhko
ef3cad5421 Fixing pdf generation issue 2012-08-18 20:32:43 +03:00
Alexis Metaireau
e4df1da252 Merge pull request #449 from Julian/settings
A Possible Re-implementation for Issue #445
2012-08-16 04:40:15 -07:00
Alexis Metaireau
7b5b99b04b Merge pull request #433 from iurisilvio/patch-1
Use async Google Analytics code.
2012-08-16 04:31:40 -07:00
Zoresvit
515847fdd2 Include index in format() string.
Argument index is included in .format() method format string in order to be friendly with various Python versions and consistent with the rest of the code.
2012-08-16 14:17:46 +03:00
Justin Mayer
0c02536605 Give devserver its own make target
Restore "make serve" to a non-backgrounded SimpleHTTPServer process and
give the develop_server.sh its own make target at "make devserver".
Add a few missing make targets to the help list and re-order targets for
consistency. Add note to docs regarding how to stop the devserver.
2012-08-05 17:25:39 -07:00
Justin Mayer
7ee6fdd9e6 Make develop_server.sh executable. Refs #443.
The pelican-quickstart command generates a develop_server.sh file that
must have executable permissions in order to run.
2012-08-03 08:26:19 -07:00
Julian Berman
7cb18a088e Reimplement settings loading to preserve __file__ 2012-08-01 13:36:47 -04:00
Alexis Metaireau
f3280071c1 change the link to pelican in the default theme 2012-07-27 00:31:02 +02:00
Alexis Metaireau
22c88e4de3 update typogrify support 2012-07-26 22:02:06 +02:00
Alexis Metaireau
d5f1747993 we don't need to have a max size for the title on the default theme 2012-07-23 18:56:47 +02:00
Alexis Metaireau
0494cd1406 remove the selection color in the default theme 2012-07-23 18:56:21 +02:00
Alexis Metaireau
5cb009d782 if not virtualenv is defined, fallback on '.' 2012-07-23 18:37:12 +02:00
tBunnyMan
b0d860b7e0 Fixed bad signal placement for pages
The signal needs to be in the loop that iterates through the pages since it runs on each page and uses the page metadata.
Also fixed for pep8
Fix #432
2012-07-22 09:08:47 -07:00
Iuri de Silvio
172555bbce Use async Google Analytics code. 2012-07-20 21:23:27 -03:00
Joshua Adelman
6075024469 Modify system path to ensure current directory is included 2012-07-20 07:38:16 -04:00
Alexis Metaireau
46c19e3cb0 Merge pull request #411 from solsticedhiver/master
Fix issue #175
2012-07-20 03:55:05 -07: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
Alexis Metaireau
db79abdc13 Merge pull request #419 from tbunnyman/ReverseArchiveOrder#304
Change default REVERSE_ARCHIVE_ORDER to true
2012-07-20 03:51:59 -07:00
Alexis Metaireau
1ba712bea9 Merge pull request #423 from lueo/asian_slug
Add unidecode for translating slugs in asian languages
2012-07-20 03:50:55 -07:00
Joshua Adelman
597dba1391 Added signals to plugin for pages generation 2012-07-19 20:59:48 -04:00