Skip to content

Graph-Native Infrastructure for Context and Accountable AI Systems

chore: add .gitattributes to fix language statistics

KaifAhmad1bd3c25845869
diff --git a/.gitattributes b/.gitattributes
new file mode 100644
index 00000000..5595f17b
--- /dev/null
+++ b/.gitattributes
@@ -0,0 +1,20 @@
+# Linguist documentation and generated files
+# This ensures GitHub language statistics reflect the core Python code
+
+# Mark the entire docs directory as documentation
+docs/* linguist-documentation
+
+# Mark the cookbook directory as documentation/examples
+cookbook/* linguist-documentation
+
+# Specifically ignore large generated HTML/JSON files in cookbook
+cookbook/**/*.html linguist-documentation
+cookbook/**/*.json linguist-documentation
+cookbook/**/*.graphml linguist-documentation
+cookbook/**/*.ttl linguist-documentation
+
+# Ensure .ipynb files are treated as documentation/examples
+cookbook/**/*.ipynb linguist-documentation
+
+# Mark data directories as documentation or vendored
+**/data/* linguist-vendored