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
Michael Reneer
103ae436c9
Update docs/settings.rst
...
Updated commit based on the discussion in the pull request.
2012-11-26 13:03:25 -05:00
Michael Reneer
4de668159d
Update docs/settings.rst
...
Updated the documentation for the MARKUP setting to reflect the current supported markup file extensions.
2012-11-26 11:26:33 -05:00
Bruno Binet
0fbf96b4be
Merge pull request #596 from tpievila/doc_fix
...
Metadata parity for RST/MD, document summary.
2012-11-24 03:41:01 -08:00
Tomi Pieviläinen
a6f328516a
Metadata parity for RST/MD, document summary.
2012-11-24 13:18:49 +02:00
Bruno Binet
1c44f49d1b
remove importlib dependency
...
importlib is only available for python >= 2.7
2012-11-23 15:51:01 +01:00
Bruno Binet
5fd6eac477
update changelog (new webassets plugin)
2012-11-23 15:38:41 +01:00
Bruno Binet
801bc755b5
Merge branch 'pr/558'
...
Conflicts:
docs/settings.rst
pelican/signals.py
2012-11-23 15:32:17 +01:00
Simon
816e8d88e0
Change webasset tests organization to avoid running pelican twice for each test.
...
As setUp is run for each test, the previous implementation was running pelican
twice (once for relative urls and once for absolute) for each test, which was not
really optimal :-).
Solution: make a base class which is inherated by a class for relative urls and
another for absolute urls.
2012-11-22 13:22:49 +01:00
Alexis Métaireau
09ddd92efc
update the output for functional tests
2012-11-21 16:39:05 +01:00
Alexis Métaireau
587184c778
trim the blocks when generating templates.
2012-11-21 16:38:27 +01:00
Alexis Métaireau
c022f4d483
Merge branch 'master' of github.com:getpelican/pelican
2012-11-21 16:16:52 +01:00
Alexis Metaireau
6adfec2bd5
Merge pull request #589 from tpievila/translated_pages
...
List of translations for simple and notmyidea pages
2012-11-21 07:13:26 -08:00
Alexis Métaireau
aee59f42ef
Merge branch 'master' of github.com:getpelican/pelican
2012-11-21 15:58:16 +01:00
Tomi Pieviläinen
3e454045e9
Update test data
2012-11-21 15:45:50 +02:00
Tomi Pieviläinen
429991c3f9
List of translations for simple and notmyidea pages
2012-11-21 15:45:50 +02:00
Bruno Binet
a9cdf3c5a1
remove old import statement
2012-11-21 14:24:40 +01:00
Alexis Metaireau
6d11f6d063
Merge pull request #583 from egh/master
...
create a preread signal
2012-11-21 04:53:42 -08:00
Alexis Métaireau
4aeb65512d
delete the TODO file
2012-11-21 13:03:29 +01:00
Tomi Pieviläinen
e006cf04bb
Kill SimpleHTTPServer also on OS X
2012-11-21 14:02:56 +02:00
Simon
f413a8da79
Change webassets configuration for relative urls.
...
Set the ASSET_URL to be relative to the 'theme/' url, which requires to use
{{ SITEURL }}/{{ ASSET_URL }} in the template and make it works with both
relative and absolute urls.
2012-11-20 23:42:52 +01:00
Simon
67af48eed4
travis configuration for webassets tests: install webassets, cssmin and sass.
2012-11-20 23:42:41 +01:00
Simon
00d1ea6157
Use the new generator_init signal for the assets plugin.
...
This allows to have the assets_environment in all generators.
2012-11-20 23:42:41 +01:00