Update .gitattributes

This commit is contained in:
UncleCode
2025-01-07 21:20:17 +08:00
committed by GitHub
parent 4d1975e0a7
commit c110d459fb

12
.gitattributes vendored
View File

@@ -1,6 +1,12 @@
# Ignore Markdown files for language statistics
*.html linguist-detectable=false
# Documentation
*.html linguist-documentation
docs/* linguist-documentation
docs/examples/* linguist-documentation
docs/md_v2/* linguist-documentation
# Force Python files to be detected
# Explicitly mark Python as the main language
*.py linguist-detectable=true
*.py linguist-language=Python
# Exclude HTML from language statistics
*.html linguist-detectable=false