Skip to content

chore: Mark notebooks/ as documentation for linguist - #54

Merged
MatthewDowicz merged 2 commits into
mainfrom
chore/gitattributes-linguist
Apr 25, 2026
Merged

chore: Mark notebooks/ as documentation for linguist#54
MatthewDowicz merged 2 commits into
mainfrom
chore/gitattributes-linguist

Conversation

@MatthewDowicz

@MatthewDowicz MatthewDowicz commented Apr 25, 2026

Copy link
Copy Markdown
Owner

Adds .gitattributes telling GitHub linguist to treat notebooks/ as documentation, so its byte count (dominated by base64-encoded figure outputs in the DESI presentation notebook, ~12 MB alone) doesn't swamp the repo's Languages sidebar.

examples/ is intentionally left in language stats — those are user-facing tutorial notebooks that represent how users learn the package.

After merging, the Languages sidebar should recompute on the next push to main.

Test plan

  • CI passes (.gitattributes doesn't affect tests)
  • Languages bar updates after merge

@MatthewDowicz
MatthewDowicz merged commit 77d5d7d into main Apr 25, 2026
5 of 6 checks passed
@MatthewDowicz
MatthewDowicz deleted the chore/gitattributes-linguist branch April 25, 2026 05:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant