mirror of
https://github.com/KevinMidboe/linguist.git
synced 2025-10-29 09:40:21 +00:00
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.
32 lines
654 B
YAML
32 lines
654 B
YAML
# Documentation files and directories are excluded from language
|
|
# statistics.
|
|
#
|
|
# Lines in this file are Regexps that are matched against the file
|
|
# pathname.
|
|
#
|
|
# Please add additional test coverage to
|
|
# `test/test_blob.rb#test_documentation` if you make any changes.
|
|
|
|
## Documentation directories ##
|
|
|
|
- ^[Dd]ocs?/
|
|
- (^|/)[Dd]ocumentation/
|
|
- (^|/)[Jj]avadoc/
|
|
- ^[Mm]an/
|
|
- ^[Ee]xamples/
|
|
- ^[Dd]emos?/
|
|
|
|
## Documentation files ##
|
|
|
|
- (^|/)CHANGE(S|LOG)?(\.|$)
|
|
- (^|/)CONTRIBUTING(\.|$)
|
|
- (^|/)COPYING(\.|$)
|
|
- (^|/)INSTALL(\.|$)
|
|
- (^|/)LICEN[CS]E(\.|$)
|
|
- (^|/)[Ll]icen[cs]e(\.|$)
|
|
- (^|/)README(\.|$)
|
|
- (^|/)[Rr]eadme(\.|$)
|
|
|
|
# Samples folders
|
|
- ^[Ss]amples?/
|