You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@allura.apache.org by br...@apache.org on 2019/06/06 19:57:07 UTC

[allura] 01/03: [#8300] show .textile and .creole files nicely in repos, even if they aren't README files

This is an automated email from the ASF dual-hosted git repository.

brondsem pushed a commit to branch db/8300
in repository https://gitbox.apache.org/repos/asf/allura.git

commit 7b23c09f59baac89e0d54f56d1fad8d9df81665e
Author: Dave Brondsema <da...@brondsema.net>
AuthorDate: Thu Jun 6 15:46:05 2019 -0400

    [#8300] show .textile and .creole files nicely in repos, even if they aren't README files
---
 Allura/allura/model/repository.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Allura/allura/model/repository.py b/Allura/allura/model/repository.py
index b4b6fa3..7221a86 100644
--- a/Allura/allura/model/repository.py
+++ b/Allura/allura/model/repository.py
@@ -94,7 +94,7 @@ BINARY_EXTENSIONS = frozenset([
     ".xz", ".z", ".zip", ".zipx"
 ])
 
-PYPELINE_EXTENSIONS = frozenset(utils.MARKDOWN_EXTENSIONS + ['.rst'])
+PYPELINE_EXTENSIONS = frozenset(utils.MARKDOWN_EXTENSIONS + ['.rst', '.textile', '.creole'])
 
 DIFF_SIMILARITY_THRESHOLD = .5  # used for determining file renames