Alexis Métaireau
eafcecd75d
release 3.1.1
3.1.1
2012-12-04 01:41:38 +01:00
Justin Mayer
a07b56c02b
Doc fixes and improvements
2012-12-03 16:31:55 -08:00
Alexis Métaireau
be2a3f4030
bump version number
2012-12-04 01:27:16 +01:00
Alexis Métaireau
822c63cbd7
Merge branch 'master' of github.com:getpelican/pelican
3.1
2012-12-04 01:24:09 +01:00
Alexis Métaireau
89fd11d582
tagging 3.1
2012-12-04 01:21:57 +01:00
Bruno Binet
21e8087822
fix weird implementation for extension removal
...
this leads to raising exception when slug was not used to generate the url
2012-12-04 00:49:32 +01:00
Bruno Binet
e4dd5c1c00
Merge pull request #615 from bbinet/revert-523
...
revert #523
2012-12-03 14:05:35 -08:00
Bruno Binet
f604cc4df8
update functional tests to test TEMPLATE_PAGES feature
...
closes #614 : cannot reproduce this issue.
2012-12-03 22:56:07 +01:00
Bruno Binet
8bb86d3e5d
revert #523
...
we don't need a new MARKDOWN_EXTENSIONS setting because the equivalent setting
MD_EXTENSIONS already exists.
2012-12-03 22:35:11 +01:00
Justin Mayer
6236e8f66b
Updated changelog to include recent changes
2012-12-03 12:59:31 -08:00
Bruno Binet
bb2cfffe6a
Merge pull request #606 from bbinet/metadata-from-filename
...
Extract metadata from filename
2012-12-03 01:23:16 -08:00
Bruno Binet
f86e1128f0
docfix: fix example of FILENAME_METADATA regexp
2012-12-03 10:20:43 +01:00
Bruno Binet
070fa1ff9d
add more docs about FILENAME_METADATA
2012-12-03 10:20:40 +01:00
Bruno Binet
fc13ae8e76
add new file to functional test content to showcase FILENAME_METADATA
...
and update functional tests output
2012-12-03 09:54:43 +01:00
Bruno Binet
92b9ccb08a
fix failing TestArticlesGenerator.test_generate_context test
...
new file have been added to the content directory so articles_expected needs to
be updated
2012-12-03 09:54:43 +01:00
Bruno Binet
dfab8ed5b9
test the "metadata from filename" feature
2012-12-03 09:54:43 +01:00
Bruno Binet
3a25f82c4f
update docs/settings.rst for both DEFAULT_METADATA and FILENAME_METADATA
2012-12-03 09:53:14 +01:00
Bruno Binet
debd6fb3b4
add FILENAME_METADATA setting to extract metadata from filename
...
FILENAME_METADATA default to '(?P<date>\d{4}-\d{2}-\d{2}).*' which will allow
to extract date metadata from the filename.
2012-12-03 09:53:14 +01:00
Justin Mayer
a0049f9fcd
Strip tags from title in simple index. Fixes #612
...
This fix was applied previously to the relevant places in both the
"simple" and "notmyidea" themes, but the simple theme's index.html file
was apparently neglected.
2012-12-02 16:10:11 -08:00
Bruno Binet
e14623b46c
Merge pull request #611 from michaelreneer/master
...
Updated documentation
2012-12-02 12:25:40 -08:00
Justin Mayer
5f47523dd3
Merge pull request #570 from bcl/master-asciidoc
...
Add asciidoc reader support
2012-12-02 10:42:25 -08:00
Brian C. Lane
49f481e399
Add asciidoc reader support
...
http://www.methods.co.nz/asciidoc/index.html
Processes files ending in .asc with asciidoc. Extra arguments can be
passed by using the ASCIIDOC_OPTIONS config setting
2012-12-02 10:20:13 -08:00
Michael Reneer
891a66ad8b
Updated documentation to reflect addition of new markdown types.
2012-12-02 13:11:47 -05:00
Bruno Binet
f9e7c86a1a
Merge pull request #460 from getpelican/remove-url-rewriting
...
Don't rewrite URLs
2012-12-02 09:47:18 -08:00
Bruno Binet
81cb774a8e
add docs for cross-site linking
2012-12-01 21:35:15 +01:00
Bruno Binet
523ac9f64c
update functional test output (relative cross-site links support)
...
$ LC_ALL="C" pelican -o tests/output/custom/ -s samples/pelican.conf.py \
samples/content/
$ LC_ALL="C" pelican -o tests/output/basic/ samples/content/
2012-12-01 21:33:30 +01:00
Bruno Binet
a0504aeabe
add support for relative cross-site links
2012-12-01 21:32:02 +01:00
Bruno Binet
a6dd3178b1
test that 4 occurences of log "skipping url replacement" are found
2012-12-01 21:32:02 +01:00
Bruno Binet
b5b35c9fc8
update functional tests output
...
$ LC_ALL="C" pelican -o tests/output/custom/ -s samples/pelican.conf.py \
samples/content/
$ LC_ALL="C" pelican -o tests/output/basic/ samples/content/
2012-12-01 21:31:44 +01:00
Bruno Binet
c74abe579b
Don't rewrite URLs
...
Remove the code that was appending ../static in front of some URLs, and add a
way to do cross-content linking.
2012-12-01 21:30:50 +01:00
Alexis Metaireau
f653118658
Merge pull request #588 from tpievila/dev_server_fix
...
Kill SimpleHTTPServer also on OS X
2012-11-29 14:08:53 -08:00
Alexis Metaireau
d913761c46
Merge pull request #605 from saimn/relative_links
...
Change the way to compute relative paths to avoid the leading `.././` when using relative urls.
2012-11-29 13:55:57 -08:00
Simon
5df258c5f0
Update the basic and custom tests output.
2012-11-29 21:50:46 +01:00
Simon
088c810b00
Change the way to compute relative paths to avoid the leading .././ when using
...
relative urls.
2012-11-29 21:50:46 +01:00
Alexis Métaireau
c731edcdeb
pages should be in the content folder
2012-11-29 19:16:44 +01:00
Bruno Binet
a86fdfc779
update changelog: add gzip_cache plugin
2012-11-29 15:16:57 +01:00
Bruno Binet
6380cd428a
Merge branch 'pr/586' ( closes #586 )
2012-11-29 15:02:26 +01:00
Matt Layman
8fe68aa035
Added some unit tests for the gzip cache plugin
2012-11-29 15:00:45 +01:00
Bruno Binet
3342d3b9b9
Added some documentation about the gzip plugin.
2012-11-29 15:00:44 +01:00
Bruno Binet
c749671778
Reimplemented the gzip compression as a plugin.
...
Extending the Writer wasn't the complete answer because the static
generator also copies some files. Instead, I implemented the work as a
plugin that attaches to the finalized event.
2012-11-29 15:00:44 +01:00
Matt Layman
2bdbbc3faf
Fixed line ending problems by adding a .gitattributes file
2012-11-29 15:00:44 +01:00
Justin Mayer
7056622322
Fix missing SITEURL and base home link
...
1. Following up on bbinet's changes in f12a297 , ensure that the notmyidea
theme's article.html template includes the SITEURL variable when
constructing URL links.
2. Add missing slash to the base.html template so that clicking on the
site header at top left refers to "/" instead of "" when SITEURL is not
defined. Otherwise, the "" target will cause the browser to load the
current page and not the site's root (as one would expect).
2012-11-27 16:01:05 -08:00
Bruno Binet
447e627286
update changelog to reflect changes from #592
2012-11-28 00:41:40 +01:00
Bruno Binet
03c39076e5
Merge branch 'restore-basic-functional-test'
2012-11-28 00:30:59 +01:00
Bruno Binet
ce0723cf48
update contribute.rst doc
...
$USER environment variable is no longer needed
2012-11-28 00:29:52 +01:00
Bruno Binet
07ccf477d0
update "basic" output for functional tests so that test pass
...
LC_ALL="C" pelican -o tests/output/basic/ samples/content/
2012-11-28 00:29:52 +01:00
Bruno Binet
080c884c1a
restore test_basic_generation_works functional test
2012-11-28 00:29:51 +01:00
Bruno Binet
4d6ddd0af3
fix failing tests
2012-11-28 00:29:51 +01:00
Bruno Binet
fa82e19c1f
change default value for DEFAULT_DATE to None
...
(was 'fs' => guess from file mtime)
2012-11-28 00:29:51 +01:00
Bruno Binet
d9fbb540c5
Merge pull request #599 from MichaelReneer/master
...
Updated settings documentation
2012-11-26 13:53:26 -08:00