Commit 93d0e93
Add .gitattributes so GitHub Linguist detects Go as the primary language
The repo commits the generated Hugo site (website/public, ~450MB of HTML) and a
bilingual Markdown book, which by raw bytes dwarf the Go source, causing GitHub
to classify the project as HTML. Classify non-code per Linguist semantics:
- website/public/** -> linguist-generated (built site output)
- website/themes/** -> linguist-vendored (third-party Hugo theme)
- *.md -> linguist-documentation (prose write-ups, READMEs)
- PDF*.md -> linguist-generated (ctl-generated merged dumps)
After this, counted bytes are Go ~1.5MB (top) > JSON ~0.28MB > JS ~0.11MB.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>1 parent 3bcc916 commit 93d0e93
1 file changed
Lines changed: 21 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
0 commit comments