draftcode
08b40c7967
Make names of metadata lower.
2012-03-12 01:33:30 +09:00
Alexis Metaireau
32355f5463
add some more tests for the utils module
2012-03-11 15:51:48 +01:00
Alexis Metaireau
c393b011c4
cleaning
2012-03-11 15:50:53 +01:00
Alexis Metaireau
3c983d62c9
change the tests to use the mock library instead of a custom mocking system
2012-03-11 11:25:30 +01:00
Alexis Metaireau
78091bfa80
Merge pull request #238 from draftcode/feed_issue
...
Do not create feeds when their filenames are set to None.
2012-03-11 01:46:58 -08:00
Alexis Metaireau
cfd050b0f2
Add a CSS file for typogrify on the notmyidea theme
2012-03-11 03:02:12 +01:00
Alexis Metaireau
6a4f4a55b4
updated the changelog
2012-03-11 02:52:40 +01:00
Alexis Metaireau
189da25c5b
Merge branch 'master' of github.com:ametaireau/pelican
2012-03-11 02:50:37 +01:00
Alexis Metaireau
d43bd1dcb8
Add a way to use Typogrify to enhance the generated HTML.
2012-03-11 02:48:36 +01:00
Alexis Metaireau
fbf89687cc
start functional testing
2012-03-11 01:59:58 +01:00
Alexis Metaireau
d6be2fb44c
Put deprecation code in a separate place
2012-03-11 01:59:22 +01:00
Alexis Metaireau
f076f64404
Merge pull request #240 from bbinet/parametrable-dirs
...
Parametrable source directories for pages and articles
2012-03-10 16:32:28 -08:00
Bruno Binet
aef7418bdf
add docs for new page/article paths settings
2012-03-11 01:22:22 +01:00
Bruno Binet
0ca9997e10
paths for finding articles and pages are now parametrable
2012-03-11 01:22:16 +01:00
Alexis Metaireau
1c219d14bb
Use the slug as default URL for tags and authors.
2012-03-11 01:16:32 +01:00
Alexis Metaireau
1ec2779f5e
Make the readers tests a bit more verbose.
2012-03-11 01:16:02 +01:00
Alexis Metaireau
3bdc769134
Factorize some code about URL wrapping.
2012-03-11 01:14:22 +01:00
draftcode
1194764ed1
Do not create feeds when their filenames are set to None.
2012-03-11 01:30:45 +09:00
Alexis Metaireau
012caed1dc
Merge pull request #237 from draftcode/226
...
Avoid #226 .
2012-03-10 05:18:02 -08:00
draftcode
1c2f631723
Avoid #226 .
2012-03-10 21:25:11 +09:00
Alexis Metaireau
38668785e4
Merge pull request #236 from m-r-r/pelican-qickstart
...
Removed small errors in pelican-quickstart
2012-03-10 04:24:57 -08:00
Alexis Metaireau
8499ce3340
add some url and saveas settings that weren't present in the default settings dict
2012-03-10 13:23:50 +01:00
m-r-r
fd1fbca520
Removed small errors in pelican-quickstart
2012-03-10 12:25:05 +01:00
Alexis Metaireau
a7ea166fd2
fix #233
2012-03-10 12:21:54 +01:00
Alexis Metaireau
0cf820f07b
Merge pull request #234 from saghul/issue-233
...
Fix for issue #233
2012-03-10 03:20:54 -08:00
saghul
5e26062fd0
Fix for issue #233
2012-03-10 11:32:22 +01:00
Alexis Metaireau
174f1b50c8
Merge pull request #231 from AndreaCrotti/master
...
various small improvements
2012-03-09 09:04:16 -08:00
Alexis Metaireau
542b8b8705
add a 'coding standards' section in the contributors' guide
2012-03-09 16:27:23 +01:00
Alexis Metaireau
8a442e726a
Don't specify the default when accessing settings.
...
There is no need to do this, since all the default values are already provided
in the default settings dict (in settings.py)
2012-03-09 16:22:28 +01:00
Alexis Metaireau
6cde7fd27a
PEP8-ify.
...
Wrap to 80 chars, sanitize imports.
2012-03-09 16:21:38 +01:00
Alexis Metaireau
df25dec30a
Use the with statement when opening files.
2012-03-09 16:17:09 +01:00
Alexis Metaireau
0298d412dc
updated CHANGELOG
2012-03-09 15:36:29 +01:00
Alexis Metaireau
7240460688
Update the CHANGELOG for 2.8
2012-03-09 15:33:34 +01:00
Alexis Metaireau
a7cea63db6
Merge branch 'urls' of https://github.com/kylef/pelican
2012-03-09 11:42:21 +01:00
Alexis Metaireau
019382220a
Merge pull request #232 from MeirKriheli/master
...
Make sure test passes for dates formatted as utf-8
2012-03-09 02:36:04 -08:00
Meir Kriheli
dd07ddb0b0
Make sure test passes for dates formatted as utf-8
2012-03-09 02:03:15 +02:00
Andrea Crotti
20af8fd378
refactoring of the ANSI dictionary, removing all the repeated code
2012-03-07 12:17:39 +00:00
Andrea Crotti
2e0e893a9b
fix three print statement
2012-03-07 12:14:13 +00:00
Andrea Crotti
4eb20c5d82
global declaration is only needed if it's necessary to modify a module
...
level variable, to declare it and use it read only it's not necessary
2012-03-07 12:00:32 +00:00
Alexis Metaireau
1405667692
Merge pull request #230 from AndreaCrotti/master
...
refactor the scripts
2012-03-07 03:59:15 -08:00
Andrea Crotti
8f7b08a01c
remove now useless if __name__ == '__main__' checks and clean up the
...
old pelican script in bin
2012-03-07 10:38:08 +00:00
Andrea Crotti
7c78f232b4
remove unused imports
2012-03-07 10:34:14 +00:00
Andrea Crotti
8009324a3b
restructure the whole way scripts are created, using setuptools magic
...
to take care of creating .exe wrappers for windows.
To make this work needed to
- rename modules with a "-" in it (not a valid name)
- add an __init__.py to the tools directory
- create an entry point dictionary which stores the right associations
2012-03-07 10:33:46 +00:00
Andrea Crotti
1f32624e8b
use a try / except to check if argparse is a needed dependency
2012-03-07 10:14:52 +00:00
Alexis Metaireau
352d2047b4
MOAR TYPOGRAPHY
2012-03-06 17:57:29 +01:00
Bruno Binet
8f8933d991
fix test test_save_as
...
ERROR: test_save_as (tests.test_contents.TestPage)
If a lang is not the default lang, save_as should be set
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/bruno/dev/pelican/tests/test_contents.py", line 63, in test_save_as
page.save_as = 'foo-bar.html'
AttributeError: can't set attribute
2012-03-06 16:41:36 +00:00
Bruno Binet
c2b8caed3f
fix test test_article_with_metadata
...
error was:
ERROR: test_article_with_metadata (tests.test_readers.RstReaderTest)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/bruno/dev/pelican/tests/test_readers.py", line 22, in test_article_with_metadata
reader = readers.RstReader()
TypeError: __init__() takes exactly 2 arguments (1 given)
2012-03-06 16:41:36 +00:00
Bruno Binet
bfd0e63e3d
fix pages urls
2012-03-06 16:41:36 +00:00
Bruno Binet
8bf0a22eb0
fix encoding errors
...
error was:codeEncodeError: 'ascii' codec can't encode character u'\xe9' [..]
2012-03-06 16:41:36 +00:00
Kyle Fuller
c5816c9c5a
Make these patches compatible with upstream master
2012-03-06 16:41:36 +00:00