Repository navigation
Expand file tree
/
Copy path.gitattributes
More file actions
45 lines (41 loc) · 2.07 KB
/
Copy path.gitattributes
File metadata and controls
45 lines (41 loc) · 2.07 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
# Force GitHub Linguist to count only the Rust source tree.
# Anything that isn't src/ or top-level Rust manifests is build infrastructure,
# vendored test scaffolding, or documentation — none of it should skew the
# language stats.
# --- Test scaffolding ----------------------------------------------------
/test-servers/** linguist-vendored
/data/** linguist-vendored
# --- Build / packaging ---------------------------------------------------
/Dockerfile linguist-vendored
/pkg/** linguist-vendored
/HomebrewFormula/** linguist-vendored
/scripts/** linguist-vendored
/.github/** linguist-vendored
# --- Documentation site --------------------------------------------------
/docs/** linguist-documentation
/overrides/** linguist-vendored
/mkdocs.yml linguist-vendored
/AGENTS.md linguist-documentation
/CLAUDE.md linguist-documentation
/CHANGELOG.md linguist-documentation
/README.md linguist-documentation
# --- Catch-all by extension ----------------------------------------------
# Any HTML/CSS/JS/Python/Ruby/PHP/Shell/Dockerfile/YAML/JSON/Markdown anywhere
# in the tree is vendored test data, packaging, or docs — never Rust.
*.html linguist-vendored
*.htm linguist-vendored
*.css linguist-vendored
*.js linguist-vendored
*.py linguist-vendored
*.rb linguist-vendored
*.php linguist-vendored
*.sh linguist-vendored
*.dockerfile linguist-vendored
Dockerfile* linguist-vendored
*.conf linguist-vendored
*.yml linguist-vendored
*.yaml linguist-vendored
*.json linguist-vendored
*.toml linguist-vendored
*.md linguist-documentation
*.txt linguist-vendored