Skip to content

Commit c540baa

Browse files
authored
Adding .gitattributes (#371)
1 parent f2b2f01 commit c540baa

File tree

2 files changed

+20
-0
lines changed

2 files changed

+20
-0
lines changed

.gitattributes

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
# Hide any shell scripts from language detection
2+
*.sh linguist-detectable=false
3+
*.bash linguist-detectable=false
4+
5+
# Mark documentation appropriately
6+
*.md linguist-documentation=true
7+
docs/** linguist-documentation=true
8+
documentation/** linguist-documentation=true
9+
site-generator/** linguist-documentation=true
10+
11+
# Ensure Java examples are properly detected
12+
examples/**/*.java linguist-language=Java
13+
*.java linguist-detectable=true
14+
system-prompts-generator/** linguist-language=Java
15+
16+
# Mark XML files as part of Java ecosystem (transformation definitions)
17+
system-prompts-generator/**/*.xml linguist-language=Java
18+
*.xsl linguist-language=Java
19+
*.xslt linguist-language=Java
20+
112 KB
Loading

0 commit comments

Comments
 (0)