From ba09394f858892b1328ef6b9ae9f7a449964d6f8 Mon Sep 17 00:00:00 2001 From: Liav Turkia Date: Mon, 13 Mar 2017 19:20:36 -0500 Subject: [PATCH] Added a demos folder and updated regexes (#3512) I added a check for case-sensitivity to the regex's. In my repositories, I have both a Docs and Demos folder and those wouldn't have been matched before. Now, they would. --- lib/linguist/documentation.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/lib/linguist/documentation.yml b/lib/linguist/documentation.yml index 21710b03..99cfe382 100644 --- a/lib/linguist/documentation.yml +++ b/lib/linguist/documentation.yml @@ -9,11 +9,12 @@ ## Documentation directories ## -- ^docs?/ +- ^[Dd]ocs?/ - (^|/)[Dd]ocumentation/ -- (^|/)javadoc/ -- ^man/ +- (^|/)[Jj]avadoc/ +- ^[Mm]an/ - ^[Ee]xamples/ +- ^[Dd]emos?/ ## Documentation files ##