Skip to content

Commit c110d45

Browse files
authored
Update .gitattributes
1 parent 4d1975e commit c110d45

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

.gitattributes

+9-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,12 @@
1-
# Ignore Markdown files for language statistics
2-
*.html linguist-detectable=false
1+
# Documentation
2+
*.html linguist-documentation
3+
docs/* linguist-documentation
4+
docs/examples/* linguist-documentation
35
docs/md_v2/* linguist-documentation
46

5-
# Force Python files to be detected
7+
# Explicitly mark Python as the main language
8+
*.py linguist-detectable=true
69
*.py linguist-language=Python
10+
11+
# Exclude HTML from language statistics
12+
*.html linguist-detectable=false

0 commit comments

Comments
 (0)