Add 'adoc' as a file extension for asciidoc

This is to match the behaviour that GitHub have
This commit is contained in:
Kyle Fuller 2013-11-19 17:41:33 +00:00
commit 1592a45db8

View file

@ -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):