Commit graph

29 commits

Author SHA1 Message Date
Dirk Makowski
71995d5e1b Port pelican to python 3.
Stays compatible with 2.x series, thanks to an unified codebase.
2013-01-11 03:20:09 +01:00
Michael Reneer
f66c16bd52 Updated unit tests to test markdown summary metadata. 2012-12-11 00:37:06 -05: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
Bruno Binet
dfab8ed5b9 test the "metadata from filename" feature 2012-12-03 09:54:43 +01: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
Alexis Métaireau
84c708b74b Revert "Get HtmlReader to work again"
This reverts commit 39db9ddcfd.

Conflicts:

	tests/test_readers.py
2012-10-29 00:36:42 +01:00
Alexis Métaireau
0ebba1c4ab merge with master 2012-10-25 14:54:19 +02: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
45c836fdf5 Update docs and tests for MARKDOWN_EXTENTIONS 2012-09-28 23:09:57 +02:00
Florian Jacob
39db9ddcfd Get HtmlReader to work again
wrote unit tests and documentation, improved regular expression.
The HtmlReader is enabled by default now and parses metadata in html
files of the form:
<!-- key:value -->
2012-09-02 10:29:09 +02:00
Alexis Metaireau
0e4d493d93 typogrify also does some changes on the abbr 2012-07-27 00:34:47 +02:00
Dirkjan Ochtman
636fd6cc38 Add support for abbreviations to reST translator (fixes #395). 2012-07-17 13:30:06 +02:00
Alexis Metaireau
298c15bdda don't test the markdown reader if markdown isn't installed 2012-06-10 12:42:33 +02:00
Matt Bowcock
3c987d20b1 Added some metadata to new test files 2012-05-01 23:30:23 -04:00
Mike Yumatov
4df6179954 Fix markup for single-paragraph summary in reST metadata 2012-03-25 21:39:41 +04:00
Andrea Crotti
ff5921a469 - move the try/except dance in support.py
- use relative . imports in test files
- remove the "future with import", since python < 2.6 is not supported
2012-03-18 21:08:43 +00:00
Alexis Metaireau
9c4b40fd35 Keep raw metadata text (but for summary) 2012-03-18 15:12:06 +01:00
Alexis Metaireau
71a5ba3283 Merge pull request #241 from draftcode/metadata_lowercase
Make names of metadata lower.
2012-03-12 04:15:34 -07:00
draftcode
a4ce10d88e Add a test for readers. 2012-03-12 02:24:26 +09:00
Alexis Metaireau
48b318d29e skip typogrify if not installed 2012-03-11 17:05:46 +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
1ec2779f5e Make the readers tests a bit more verbose. 2012-03-11 01:16:02 +01: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
Stéphane Raimbault
9cced6be83 Sort imports and remove trailing whitespaces 2012-02-28 17:40:13 +01:00
Jiachen Yang
e78372f338 import unittest if cannot found unittest2 2012-02-28 01:43:36 +09:00
Mario Rodas
dc6934be43 all test pass 2011-07-02 15:15:21 -05:00
Mario Rodas
3cd84ab396 moving tests dir 2011-07-02 14:41:39 -05:00
Renamed from pelican/tests/test_readers.py (Browse further)