1
0
Fork 0
forked from github/pelican
pelican-theme/pelican
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
..
tests Refactor readers and remove MARKUP 2013-08-06 23:42:41 +02:00
themes Normalize whitespace via lstrip Jinja parameter 2013-08-03 16:17:26 -07:00
tools fix missing 'kind' arg in importer 2013-08-04 17:21:35 +08:00
__init__.py Refactor readers and remove MARKUP 2013-08-06 23:42:41 +02:00
contents.py do slug_substitutions on category and author ... 2013-07-14 23:01:16 +10:00
generators.py Refactor readers and remove MARKUP 2013-08-06 23:42:41 +02:00
log.py fix for issue #761: handle unicode correctly in summary for Markdown 2013-04-03 19:38:42 -04:00
paginator.py Create new formatting context dict instead of using self.__dict__ 2013-08-03 13:49:43 -07:00
readers.py Refactor readers and remove MARKUP 2013-08-06 23:42:41 +02:00
rstdirectives.py Added more pygments options for code blocks 2013-08-05 22:50:49 -07:00
server.py add port option to pelican.server 2013-07-07 12:44:21 +02:00
settings.py Refactor readers and remove MARKUP 2013-08-06 23:42:41 +02:00
signals.py generators: Update PagesGenerator to use new read_file 2013-06-12 15:02:31 -04:00
urlwrappers.py Allow text substitutions when generating slugs 2013-07-04 12:17:21 +01:00
utils.py Refactor pelican_open using contextmanager 2013-08-04 14:47:03 +02:00
writers.py Delib. overriding and overwrite detect. Fixes #938 2013-08-04 12:09:26 +01:00