1
0
Fork 0
forked from github/pelican
pelican-theme/pelican/tests
Simon Conseil 4bc4b1500c Refactor readers and remove MARKUP
Add a `Readers` class which contains a dict of file extensions / `Reader`
instances. This dict can be overwritten with a `READERS` settings, for instance
to avoid processing *.html files:

    READERS = {'html': None}

Or to add a custom reader for the `foo` extension:

    READERS = {'foo': FooReader}

This dict is no storing the Reader classes as it was done before with
`EXTENSIONS`. It stores the instances of the Reader classes to avoid instancing
for each file reading.
2013-08-06 23:42:41 +02:00
..
content Changed meta tag "contents" attribute to "content", to conform to HTML spec. Fixes #918 2013-06-16 10:56:50 -07:00
output Added more pygments options for code blocks 2013-08-05 22:50:49 -07:00
TestPages Move the tests into pelican. Fix #500 2013-03-06 00:41:27 -08:00
__init__.py Fix for issue #392 2013-03-27 18:17:11 -04:00
default_conf.py added testing for default locale setting 2013-07-21 14:12:21 +08:00
support.py tests.support: Use kwargs overrides in get_settings() 2013-06-02 14:24:27 -04:00
test_contents.py test for author & category slugification 2013-07-15 00:22:05 +10:00
test_generators.py Refactor readers and remove MARKUP 2013-08-06 23:42:41 +02:00
test_importer.py tests: Avoid hidden logic with better .assert*() method choices 2013-06-12 14:52:23 -04:00
test_pelican.py add feedback to user and refactor 'autoreload' code 2013-04-19 13:35:20 -04:00
test_readers.py Refactor readers and remove MARKUP 2013-08-06 23:42:41 +02:00
test_settings.py added testing for default locale setting 2013-07-21 14:12:21 +08:00
test_utils.py Refactor readers and remove MARKUP 2013-08-06 23:42:41 +02:00