Skip to content

Leave the landing page out of GitHub's language statistics - #4

Merged
DevomB merged 1 commit into
mainfrom
exclude-site-from-language-stats
Oct 23, 2026
Merged

DevomB merged 1 commit into
mainfrom
exclude-site-from-language-stats

Conversation

@DevomB

@DevomB DevomB commented Oct 23, 2026

Copy link
Copy Markdown
Owner

Summary

Adds a .gitattributes so GitHub's language bar describes the engine and the trainer, not the landing page.

All of the repository's JavaScript, CSS and HTML lives in web/, which made the repo show as Go 47%, JavaScript 20%, Python 12%, CSS 11%, HTML 7%. With web/** marked as documentation, the bar should read about Go 77%, Python 20%, plus a little Shell and Makefile.

The generated engine build (web/engine/) and page data (web/data/) are also marked linguist-generated, so their diffs are collapsed in PRs.

GitHub recalculates the language stats in the background after merge, which can take a few minutes.

Test plan

  • git check-attr confirms web/** files are documentation, web/engine/** and web/data/** are generated, and cmd/, internal/ and training/ are unaffected
  • After merge, the repository's language bar shows Go and Python only

Generated by Claude Code

web/ is the project's website; counting it made the repository look 38%
JavaScript, CSS and HTML. Mark it as documentation so the language bar
shows the engine (Go) and the trainer (Python), and mark the generated
engine build and page data so their diffs are collapsed.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01JyK2tUFLPsLyWjy2h2erVw
@vercel

vercel Bot commented Oct 23, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
gofer Ready Ready Preview Oct 23, 2026 6:24pm UTC

@DevomB
DevomB merged commit d45cacb into main Oct 23, 2026
9 checks passed

This branch was successfully deployed

1 active deployment
Preview — 86941159 Deployed Oct 23, 2026 by vercel[bot]
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.

2 participants