From 010677cbeeeaa0c2f8dee19e0da7205286c72c2b Mon Sep 17 00:00:00 2001 From: UncleCode Date: Wed, 8 Jan 2025 13:05:00 +0800 Subject: [PATCH] chore: add .gitattributes file Add initial .gitattributes file to standardize line endings and file handling across different operating systems. This will help prevent issues with line ending inconsistencies between developers working on different platforms. --- .gitattributes | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 .gitattributes diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..144fe13 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,12 @@ +# Documentation +*.html linguist-documentation +docs/* linguist-documentation +docs/examples/* linguist-documentation +docs/md_v2/* linguist-documentation + +# Explicitly mark Python as the main language +*.py linguist-detectable=true +*.py linguist-language=Python + +# Exclude HTML from language statistics +*.html linguist-detectable=false \ No newline at end of file