Commit graph

1,201 commits

Author SHA1 Message Date
Brian St. Pierre
01293dedaa Fix #530: FILES_TO_COPY error when dest dir missing
If the destination directory specified by FILES_TO_COPY does not
exist, site generation crashes with a CRITICAL error. This creates the
destination if it does not exist.
2012-10-02 19:17:43 -04:00
Alexis Metaireau
52ce7983e4 Merge pull request #525 from alefteris/settings-doc
Monospace default values of settings
2012-10-01 08:44:22 -07:00
Thanos Lefteris
0bb323f63c Monospace default values of settings 2012-10-01 18:32:53 +03:00
Alexis Metaireau
74e9c12695 Merge pull request #524 from tbunnyman/loopCPUfix
Add sleep to no files exception to avoid CPU load
2012-09-28 10:03:13 -07:00
tBunnyMan
55783fc3a1 Add sleep to no files exception to avoid CPU load 2012-09-28 08:53:59 -07: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
Alexis Metaireau
fc8696bf20 Merge pull request #518 from streeter/feed_string_formatting
Apply the string formatting to {TAG,CATEGORY}_FEED urls.
2012-09-25 14:50:28 -07:00
Chris Streeter
36e86a5854 Apply the string formatting to {TAG,CATEGORY}_FEED urls. 2012-09-23 13:55:22 -07:00
Justin Mayer
a9d370f7be Merge pull request #514 from streeter/asset_url_doc_fix
Correctly use the right variable for webassets
2012-09-19 10:36:29 -07:00
Chris Streeter
e096fb66fb Correctly use the right variable for webassets
According to [the webasset docs](http://webassets.readthedocs.org/en/latest/integration/jinja2.html#using-the-tag)
the variable should be `ASSET_URL` instead of `ASSETS_URL`.
2012-09-19 10:24:51 -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
Justin Mayer
b8279e1c9c Merge pull request #504 from tbunnyman/update-tox
Clean up tox testing configuration
2012-09-14 08:17:03 -07:00
Nico Di Rocco
81d6d85461 Merge branch 'master' of git://github.com/getpelican/pelican 2012-09-11 22:11:59 +02:00
Justin Mayer
3af7e2251d Clarify specifying paths in settings. Closes #477. 2012-09-11 09:27:26 -07:00
Justin Mayer
728d6076e5 Clarify docs for specifying theme. Closes #475. 2012-09-11 07:29:34 -07:00
Justin Mayer
161f60e569 Add a list of plugins to the docs. Closes #493. 2012-09-11 06:50:33 -07:00
Justin Mayer
20daa28452 Eliminate extraneous whitespace 2012-09-10 20:50:45 -07:00
Justin Mayer
3054e71f5b Minor doc changes, including those for webassets 2012-09-10 20:48:13 -07:00
Alexis Metaireau
389bf3298c Merge pull request #509 from epatters/fix-typogrify
BUG: Typogrify not applied to pages.
2012-09-10 15:55:41 -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
ff3c12fd71 Added possible uses for the finalized signal to the docs 2012-09-07 08:56:33 +02: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
tBunnyMan
2c85fb0d19 Clean up Dev Requirements and add typogrify & webassets
typogrify & webassets are optional packages for usage but should be included for testing by developers and CI
dev_requirements also had packages that setup.py covers already. Added comments for redundancy
2012-09-04 15:17:59 -07:00
tBunnyMan
566530ca18 Add the unit2 tests to tox
Remove unnecessary dependencies
These dependencies are installed when tox runs setup.py
2012-09-02 17:15:55 -07: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
Alexis Metaireau
dfd3fca92b Merge pull request #496 from sigmavirus24/gittip
Add Gittip to social icons.
2012-09-01 02:25:53 -07: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
c1b0e83a44 Added description for the finalized signal in the docs 2012-08-31 22:17:19 +02: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
663d1e7347 Added extra tests to help prevent regression. 2012-08-30 14:50:52 -07:00
Alexis Metaireau
ffe4bf0b71 Merge pull request #484 from saimn/webassets_doc
Webassets documentation
2012-08-30 14:24:22 -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
9c9963b608 Merge pull request #487 from getpelican/DRY-functional-tests
avoid repetition in the functional tests
2012-08-29 11:25:01 -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
Alexis Metaireau
bba3caa697 avoid repeatition in the functional tests 2012-08-27 22:17:11 +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
the Bunny Man
2873a09fd0 Merge pull request #479 from tbunnyman/issue#405
Cleaned up tests.
2012-08-27 09:32:40 -07:00
the Bunny Man
79745f77c0 Merge pull request #474 from tbunnyman/fix#473
use lowercase pwd since only Mac OS X allows uppercase commands
2012-08-27 08:12:03 -07:00
Simon
472063e98c add some doc for webassets:
- usage of the sass compiler as discussed in PR #441
- debug mode and compilers (#481)
2012-08-25 23:16:50 +02:00
Simon
d1d737777c fix issue #480 2012-08-25 22:50:19 +02:00