forked from github/pelican
Merge pull request #1011 from saimn/readers
Refactor readers and remove MARKUP. Fixes #866
This commit is contained in:
commit
5a469dc2e3
11 changed files with 265 additions and 221 deletions
|
|
@ -84,9 +84,10 @@ Setting name (default value) What doe
|
|||
here or a single string representing one locale.
|
||||
When providing a list, all the locales will be tried
|
||||
until one works.
|
||||
`MARKUP` (``('rst', 'md')``) A list of available markup languages you want
|
||||
to use. For the moment, the only available values
|
||||
are `rst`, `md`, `markdown`, `mkd`, `mdown`, `html`, and `htm`.
|
||||
`READERS` (``{}``) A dict of file extensions / Reader classes to overwrite or
|
||||
add file readers. for instance, to avoid processing .html files:
|
||||
``READERS = {'html': None}``. Or to add a custom reader for the
|
||||
`foo` extension: ``READERS = {'foo': FooReader}``
|
||||
`IGNORE_FILES` (``['.#*']``) A list of file globbing patterns to match against the
|
||||
source files to be ignored by the processor. For example,
|
||||
the default ``['.#*']`` will ignore emacs lock files.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue