1
0
Fork 0
forked from github/pelican
Commit graph

1,174 commits

Author SHA1 Message Date
Wladislaw Merezhko
3a6196ccd1 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-10-12 23:01:50 +02:00
Wladislaw Merezhko
7ffa9e21d8 Change name of utils.open function to pelican_open and refactor this change across project. 2012-10-12 23:01:50 +02:00
Nico Di Rocco
31afafda0f Added possible uses for the finalized signal to the docs 2012-10-12 23:01:50 +02:00
tBunnyMan
914653f140 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-10-12 23:01:50 +02:00
tBunnyMan
d0e5c3c151 Add the unit2 tests to tox
Remove unnecessary dependencies
These dependencies are installed when tox runs setup.py
2012-10-12 23:01:50 +02:00
m-r-r
0073c64e21 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-10-12 23:01:50 +02:00
Nico Di Rocco
966065767a Added description for the finalized signal in the docs 2012-10-12 23:01:50 +02:00
Dirk Makowski
5e45aaab78 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-10-12 23:01:50 +02:00
Nico Di Rocco
519d664a40 Added a new signal finalized that is dispatched when pelican finishes.
This signal can then be used for post processing.
2012-10-12 23:01:50 +02:00
Wladislaw Merezhko
b9c0f07f57 Fixing pdf generation issue 2012-10-12 23:01:49 +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
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
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
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
tBunnyMan
9435b381ed Cleaned up tests.
Used assertItemsEqual in article generation to create more precise tests than with an elif chain
Separated out categories out into their own named test for clarity
Closes #405
2012-08-24 13:14:14 -07:00
BunnyMan
63f37eeeda Merge pull request #478 from davidmarble/fix-docs-start
docs: Pelican outputs to output/ not content/. Markdown ::: syntax must be indented
2012-08-23 20:37:47 -07:00
David Marble
831e1d04b9 docs: Pelican outputs to output/ not content/. Markdown ::: syntax must be indented 2012-08-23 18:31:45 -07:00
tBunnyMan
95af2e46ec Missed a line in commit. 2012-08-23 13:13:41 -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
Justin Mayer
8ecebc9310 Merge pull request #470 from case/patch-1
added a missing space
2012-08-21 14:25:31 -07:00
Eric Case
be5b5e880d added a missing space 2012-08-21 14:14:10 -07:00
Justin Mayer
b1866c8f92 Change email address in docs to "authors@" alias 2012-08-21 09:04:37 -07: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
Alexis Metaireau
3aca0d8061 Merge pull request #462 from zoresvit/fix-typos
Fix typos
2012-08-16 04:29:03 -07:00
Zoresvit
892761f732 Fixed description of copying themes/static content.
The content from `static` directory is actually copied into `theme/`, not `theme/static/`.
2012-08-16 14:19:10 +03: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
Alexis Metaireau
ec14df9fbb add a way to run setup.py test 2012-08-13 20:58:35 +02:00
Alexis Metaireau
10f75524fc PEP8-ify 2012-08-13 20:58:35 +02:00
Justin Mayer
cadcfa43c3 Increment version to 3.1 in changelog and setup.py 2012-08-08 12:18:02 -07:00
Justin Mayer
440a68636b Fix silly mistakes in last doc update 3.0 2012-08-08 10:27:45 -07:00
Justin Mayer
532001c851 Add FAQ entry re: arbitrary metadata in templates 2012-08-08 10:21:29 -07:00
Justin Mayer
3bf377fd5f Minor doc fixes 2012-08-08 09:29:04 -07:00
Justin Mayer
68cf8d5c3d Update Pelican 3.0 release date in changelog 2012-08-08 08:45:04 -07:00
Alexis Metaireau
237dedfae0 Merge changes to the README 2012-08-06 20:09:36 +02:00
Feth AREZKI
e18a63e992 make image clickable. also fix url :) 2012-08-06 18:32:20 +02:00
Feth AREZKI
1eaaf4d8d8 add travis-ci url -> see why build breaks
that deleted some trailing spaces
2012-08-06 18:12:54 +02:00