forked from github/pelican
Add 'adoc' as a file extension for asciidoc
This is to match the behaviour that GitHub have
This commit is contained in:
parent
ba0f07cc1f
commit
1592a45db8
1 changed files with 1 additions and 1 deletions
|
|
@ -340,7 +340,7 @@ class AsciiDocReader(BaseReader):
|
|||
"""Reader for AsciiDoc files"""
|
||||
|
||||
enabled = bool(asciidoc)
|
||||
file_extensions = ['asc', 'asciidoc']
|
||||
file_extensions = ['asc', 'adoc', 'asciidoc']
|
||||
default_options = ["--no-header-footer", "-a newline=\\n"]
|
||||
|
||||
def read(self, source_path):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue