Alexis Métaireau
2b87eb7af6
Add a caching mechnism
2013-09-25 23:35:36 +02:00
Alexis Metaireau
dbbf95b184
Merge pull request #1093 from honzajavorek/intrasite-link-parsing
...
Better intrasite link parsing
2013-09-25 07:58:27 -07:00
Honza Javorek
6ed23fec7d
Tuned the tests so they are PY3 compilant.
2013-09-25 16:31:23 +02:00
Honza Javorek
7415d370e6
Added tests.
2013-09-25 16:13:28 +02:00
Honza Javorek
6fb0335269
Attempt to be compilant with Python 3.
2013-09-25 11:39:29 +02:00
Justin Mayer
2c468f091a
Prepare version 3.3.1.dev for next development cycle
2013-09-24 21:57:28 +02:00
Justin Mayer
b35ce43b7f
Bump version 3.3.0
2013-09-24 21:57:07 +02:00
Honza Javorek
7d43c4fa00
Support for params and fragments in intrasite links. Adresses #1063 .
2013-09-24 15:18:09 +02:00
Honza Javorek
e5c0a54c57
Removed obsolete comment.
2013-09-24 14:19:47 +02:00
Alexis Metaireau
74069e771f
Merge pull request #1084 from karmadharma/pygmentdocsanddefault
...
Support Pygments customization in settings (reST only)
2013-09-16 02:32:17 -07:00
Alexis Metaireau
76e47e5198
Merge pull request #1083 from bmcorser/bmcorser/fix-utils-copy
...
Fix `utils.copy` behaviour
2013-09-16 02:01:46 -07:00
SDGSDG
3580233b38
Support for pygment defaults and relevant documentation
2013-09-15 23:13:17 -07:00
Justin Mayer
85213f077b
Merge pull request #1075 from jeekajoo/patch-1
...
Add async and defer attributes to piwik.js
2013-09-15 08:35:01 -07:00
bmcorser
e03cf3f517
Fix utils.copy behaviour
...
Previously, the copy util failed if only a directory containing only
files was specified in THEME_STATIC_PATHS
2013-09-14 16:18:53 +01:00
Alexis Metaireau
9935286e19
Merge pull request #1056 from bmcorser/fix-utils-copy
...
Fix for THEME_STATIC_PATHS by copying sensitively
2013-09-09 15:01:13 -07:00
Alexis Metaireau
dd66ad6731
Merge pull request #1071 from talha131/change-intrasite-link-syntax-updated
...
Change intrasite link syntax updated
2013-09-08 14:00:57 -07:00
Talha Mansoor
48fa70c6a6
Add INTRASITE_LINK_REGEX to configuration that user can modify
...
This INTRASITE_LINK_REGEX is a string. It should have the capturing
group name which is `what`.
This change was made after discussions with @ametaireau and
@justinmayer.
1. https://github.com/getpelican/pelican/pull/1067
1. https://github.com/getpelican/pelican/pull/1071
Updates getpelican/pelican#1061
2013-09-09 00:06:18 +05:00
Alexis Métaireau
6813cd923f
Close some HTML tags. Fix #1076
2013-09-08 17:07:30 +02:00
jeekajoo
b7bc570215
add async and defer attributes to piwik.js
...
inspired from http://piwik.org/docs/javascript-tracking/#toc-where-can-i-find-the-piwik-tracking-code
2013-09-02 19:25:46 +02:00
bmcorser
089059aec6
Clarify revised functinality
2013-08-31 22:11:03 +01:00
Justin Mayer
8d352d9a78
Correct upload targets in Makefile.in
2013-08-29 17:35:48 -07:00
Talha Mansoor
2f34307e12
Change the regex so that it parse |filename| and {filename} equally
...
Updates getpelican/pelican#1061
2013-08-29 23:14:47 +05:00
Simon Conseil
71cca7a444
Fix the behavior of Markdown extensions.
...
There was several issues here:
- `self.extensions` was adding 'meta' multiple times (ref #1058 )
- `self.extensions` was keeping a reference to `self.settings['MD_EXTENSIONS']`,
so adding 'meta' to it.
- the `%s_EXTENSIONS` block coming after, it was overriding `self.extensions`
with `self.settings['EXTENSIONS']` (while it was a reference, it was working,
but ...). As this is currently used only for Mardown, the simplest solution is
to remove this, and let each reader manage its `_EXTENSIONS` setting.
2013-08-29 00:49:59 +02:00
Justin Mayer
2fb00a980a
Merge pull request #815 from noirbizarre/doc-versionning
...
Documentation versioning
2013-08-28 07:59:32 -07:00
Alexis Metaireau
651e59fce1
Merge pull request #1057 from astephen2/metadata
...
Added metadata information. Refs #1028
2013-08-25 09:31:22 -07:00
Alex Stephen
8d41d6ba24
Refs #1028 . Now iterating over tags
2013-08-24 23:36:07 -04:00
Axel Haustant
c61f6f402a
Prepare for bumpr
2013-08-24 20:17:05 +02:00
bmcorser
b144c3cfbd
Hack out overwrite param
2013-08-24 14:38:06 +01:00
bmcorser
0f4058a317
Add regressison test for recursively copying files
2013-08-24 13:42:55 +01:00
Alex Stephen
2826c1a558
Added metadata information. Refs #1028
2013-08-21 22:58:50 -04:00
bmcorser
9d583961e7
Fix for THEME_STATIC_PATHS by copying sensitively
...
If more than one path is defined in THEME_STATIC_PATHS, the theme's
static directory in output is deleted and replaced by the following
path's files.
Using `shutil.rmtree` to remove the entire destination tree if overwrite
is `True` assumes that we didn't want anything at all that was there. We
should recurse through the directory and their subdirs instead, leaving
things put there by the previous path where they were.
I lazily copied almost verbatim the solution for recursively copying a
diectory from http://stackoverflow.com/a/1994840 .
The reason for this is patch is that without it, my plugin is broken! It
also makes my code a lot less crazy:
a83f066
2013-08-21 20:28:22 +01:00
Axel Haustant
d11b33030f
Use .dev suffix for development versions
2013-08-21 06:18:43 +02:00
Alexis Metaireau
1fad70e5b9
Merge pull request #1053 from kura/remove-youtube
...
Removed YouTube directive as it's been moved to a Plugin
2013-08-19 03:47:51 -07:00
Kura
895945e3cc
Removed YouTube directive as it's been moved to a Plugin
2013-08-19 11:45:59 +01:00
Alexis Metaireau
2e845feb02
Merge pull request #1050 from getpelican/content-written-signal
...
Add a content_written signal
2013-08-17 11:07:55 -07:00
Alexis Métaireau
e2ca6d7608
Add categories and tags to the replacement mechanism.
2013-08-17 17:36:13 +02:00
Alexis Métaireau
339955376e
Add a content_written signal
2013-08-17 12:48:34 +02:00
Alexis Métaireau
aae56fee39
exception.message was removed in py 3.X
2013-08-17 01:12:39 +02:00
Alexis Métaireau
73b37989f7
update the readers tests
2013-08-17 01:02:07 +02:00
Alexis Metaireau
2be674c909
Merge pull request #903 from dominiqueplante/readers.read_file-throwsexception
...
Add unit test for the case for handing unhandled extension
2013-08-16 15:34:49 -07:00
Alexis Metaireau
09c9d48a6a
Merge pull request #1040 from ssbarnea/master
...
Fixing #1038 by allowing nice URLs.
2013-08-16 15:01:28 -07:00
Ken Jung
6191b2919e
StaticGenerator now stores file list in context.
...
This allows plugins and other generators to easily add files to be
simply copied over.
2013-08-16 13:31:14 -07:00
Justin Mayer
9645356eeb
Merge pull request #929 from nicholaskuechler/cf_support_for_quickstart
...
Adds Rackspace Cloud Files support to quickstart
2013-08-13 06:22:47 -07:00
Sorin Sbarnea
3b315fbc53
Fixing #1038 by allowing nice URLs.
2013-08-12 19:23:57 +01:00
Talha Mansoor
a7152716e2
Receive the two values returned from get_instance()
...
`get_instance()` returns two values. Old code, instead of unpacking two
values in two variables, placed the tuple in a single variable
`pelican`.
Later in the same block when `pelican.run()` was called, it resulted in
error.
```
-> Modified: content, theme, settings. re-generating...
CRITICAL: ("'tuple' object has no attribute 'run'",)
CRITICAL: 'tuple' object has no attribute 'run'
Traceback (most recent call last):
File "/Users/talha/Repos/VirtualEnvs/pelican-dev/bin/pelican", line 8,
in <module>
load_entry_point('pelican==3.3', 'console_scripts', 'pelican')()
File
"/Users/talha/Repos/VirtualEnvs/pelican-dev/lib/python2.7/site-packages/pelican-3.3-py2.7.egg/pelican/__init__.py",
line 353, in main pelican.run()
```
Either the returned value should be unpacked properly or
`pelican[0].run` should be called.
2013-08-11 01:43:27 +05:00
Simon Conseil
c875c27e83
Don't warn too loud about missing dependencies.
...
- Show the messages only once for each Reader
- Decrease the logging level
2013-08-07 22:43:08 +02:00
Justin Mayer
5a469dc2e3
Merge pull request #1011 from saimn/readers
...
Refactor readers and remove MARKUP. Fixes #866
2013-08-07 12:34:22 -07:00
Justin Mayer
0df12e31e2
Merge pull request #974 from dbrgn/tags_authors_setting_fix
...
Tags/Authors Setting Fix
2013-08-06 16:18:37 -07:00
Simon Conseil
f47f054d0b
Add documentation for readers.
2013-08-07 00:43:49 +02:00
Simon Conseil
bab8d0b26a
Move the "find image with an empty alt" block in a function.
2013-08-07 00:36:40 +02:00