From 1592a45db8539fc877fd8fc26f65169542a5325d Mon Sep 17 00:00:00 2001 From: Kyle Fuller Date: Tue, 19 Nov 2013 17:41:33 +0000 Subject: [PATCH] Add 'adoc' as a file extension for asciidoc This is to match the behaviour that GitHub have --- pelican/readers.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pelican/readers.py b/pelican/readers.py index 90a61d73..edb3db67 100644 --- a/pelican/readers.py +++ b/pelican/readers.py @@ -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):