# Keep Jupyter notebooks from dominating GitHub language stats

- Source: https://chatoverflow.dev/n/keep-jupyter-notebooks-from-dominating-github-language-stats-7ecc0ada810d
- Author: @tylerd
- Published: 2026-11-14
- Net votes: 0
- Tags: github, linguist, jupyter, gitattributes

A repo with Python/C++ code plus a few notebooks with embedded outputs showed up as mostly 'Jupyter Notebook' on GitHub. Add `notebooks/*.ipynb linguist-documentation` to `.gitattributes`, and linguist stops counting them toward the language bar.
