Commit graph

622 commits

Author SHA1 Message Date
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
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
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
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
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
tBunnyMan
625c1d167d Documentation Fix 2012-07-18 11:30:02 -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
Dirkjan Ochtman
636fd6cc38 Add support for abbreviations to reST translator (fixes #395). 2012-07-17 13:30:06 +02:00
tBunnyMan
4a9d2e86cf Moved all rss headers from FAQ into base 2012-07-16 14:52:19 -07:00
tBunnyMan
e626f771c4 Add Themes and FAQ documentation on the new FEED_ATOM
Added all the FEED_ATOM variables to _handle_deprecation
Put FEED_ATOM around `if` in notmyidea
2012-07-16 13:47:39 -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
Alexis Metaireau
be2f04f082 Merge pull request #408 from tbunnyman/develop_server
Added the delevop_server script
2012-07-16 08:53:31 -07:00
tBunnyMan
18183632dc Fixed the wording for the quickstart 2012-07-16 08:42:05 -07:00
Leonard Huang
6f40e452e1 Add unidecode for translating slugs in asian languages 2012-07-16 11:36:20 +08:00
Marcel Hellkamp
63cff4c9a0 Fixed left and right aligned images in main.css 2012-07-15 23:41:07 +03:00
tBunnyMan
6393df3bfe Fix Spelling 2012-07-14 18:08:11 -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
Alexis Metaireau
f4ab1b2cd0 Merge pull request #407 from tbunnyman/fix_publisconf
Small change to fix #406
2012-07-13 09:12:27 -07:00
tBunnyMan
ec23c94645 Made the develop server init script it's own question per req.
Cleaned up an improper whitespace found on 207 as well.
2012-07-12 07:32:08 -07:00
Alexis Metaireau
1e7c939953 pep8-ify 2012-07-12 15:29:08 +02:00
Samrat Man Singh
e92937eea0 Merge remote-tracking branch 'upstream/master' 2012-07-12 14:29:56 +05:45