forked from github/pelican
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.
|
||
|---|---|---|
| .. | ||
| content | ||
| output | ||
| TestPages | ||
| __init__.py | ||
| default_conf.py | ||
| support.py | ||
| test_contents.py | ||
| test_generators.py | ||
| test_importer.py | ||
| test_pelican.py | ||
| test_readers.py | ||
| test_settings.py | ||
| test_utils.py | ||