Justin Mayer
c659695c5d
Add a list of plugins to the docs. Closes #493 .
2012-10-12 23:01:50 +02:00
Justin Mayer
9dcf4e5438
Eliminate extraneous whitespace
2012-10-12 23:01:50 +02:00
Justin Mayer
007cd9b8fd
Minor doc changes, including those for webassets
2012-10-12 23:01:50 +02:00
epatters
ac67587b79
BUG: Typogrify not applied to pages.
2012-10-12 23:01:50 +02:00
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
Alexis Metaireau
48625964f1
Merge pull request #510 from nrocco/sourcegen
...
New source file .text generator
2012-10-12 13:57:18 -07:00
Alexis Metaireau
c7fa7b6467
Merge pull request #520 from perry/master
...
Output author details in pelican_import
2012-10-12 13:39:32 -07:00
Alexis Metaireau
848fdedec7
Merge pull request #523 from StephaneBunel/master
...
New config parameter to enable Markdown extensions
2012-10-12 13:32:30 -07:00
Alexis Metaireau
cf40006b58
Merge pull request #529 from bstpierre/delete-output-dir
...
Fix DELETE_OUTPUT_DIRECTORY crash when no output dir
2012-10-12 13:29:34 -07:00
Alexis Metaireau
1d14b19f15
Merge pull request #536 from bstpierre/pagination-no-extension
...
Fix #535 : pagination on files without an extension
2012-10-12 13:24:21 -07:00
Alexis Metaireau
38dac13ee3
Merge pull request #538 from bstpierre/sitemap-pages-dont-exist
...
Fix #537 : sitemap.xml contains pages that don't exist
2012-10-12 13:22:16 -07:00
Brian St. Pierre
3606debb15
Fix #537 : sitemap.xml contains pages that don't exist
2012-10-07 20:31:20 -04:00
Brian St. Pierre
b1f65f6c9f
Fix #535 : pagination on files without an extension
2012-10-06 22:35:47 -04:00
Stéphane Bunel
5e895317f6
FIX: Standardizing "extentions" to "extensions"
2012-10-03 22:42:07 +02:00
Stéphane Bunel
e0674aad87
FIX: Standardizing "extentions" to "extensions"
2012-10-03 22:37:18 +02:00
Stéphane Bunel
ee46becaf9
FIX: Standardizing "extentions" to "extensions"
2012-10-03 22:29:59 +02:00
Stéphane Bunel
d9d58b0510
FIX: "extentions" -> "extensions"
2012-10-03 22:28:00 +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
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
1580f7fea7
Merge pull request #527 from justinmayer/quickstart
...
Add Typogrify to docs as optional dependency
2012-10-02 07:12:55 -07:00
Brian St. Pierre
15875b8bd1
Fix DELETE_OUTPUT_DIRECTORY crash when no output dir
2012-10-02 08:51:31 -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
Stéphane Bunel
1beff31bd8
FIX test_generate_context() to include new file content/article_with_markdown_markup_extentions.md
2012-09-28 23:29:10 +02:00
Stéphane Bunel
45c836fdf5
Update docs and tests for MARKDOWN_EXTENTIONS
2012-09-28 23:09:57 +02:00
Stéphane Bunel
226aa2d8f3
Update docs and tests for MARKDOWN_EXTENTIONS
2012-09-28 22:54:01 +02: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
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
Perry Roper
6afc9f7902
Add missing colon
2012-09-26 19:59:47 +01:00
Perry Roper
cf3697199a
Output author details in pelican_import
2012-09-26 19:58:15 +01: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