Skip to content

build: mark GenDoc's generated catalog as linguist-generated#169

Merged
Reefact merged 1 commit into
mainfrom
claude/mark-gendoc-catalog-generated
Jul 17, 2026
Merged

build: mark GenDoc's generated catalog as linguist-generated#169
Reefact merged 1 commit into
mainfrom
claude/mark-gendoc-catalog-generated

Conversation

@Reefact

@Reefact Reefact commented Jul 17, 2026

Copy link
Copy Markdown
Owner

Summary

Mark doc/generated/gendoc/** as linguist-generated so GitHub collapses the CI-produced error catalog in pull-request diffs and excludes it from the repository's language statistics. The tree is regenerated and committed by the gendoc-docs workflow, so a reviewer should read errors-diff.md, not the 19 regenerated pages line by line.

Type of change

  • Bug fix
  • New feature
  • Breaking change
  • Refactoring
  • Analyzer / diagnostic change
  • Tests
  • Documentation
  • Build / CI / tooling

Changes

  • Add a doc/generated/gendoc/** linguist-generated=true rule to .gitattributes, next to the existing (narrowly-scoped) Verify-snapshot rules.

Testing

  • dotnet build FirstClassErrors.sln
  • dotnet test FirstClassErrors.sln
  • Analyzer tests pass (FirstClassErrors.Analyzers.UnitTests)

Not applicable — this is a .gitattributes-only change with no build or runtime surface. Verified with git check-attr that the rule resolves to linguist-generated: true for the generated files (errors-baseline.json, errors-diff.md, catalog/*.md) and stays unspecified for the handwritten doc/generated/README.md one level up.

Documentation

  • Public API / error documentation updated
  • README / doc/ updated
  • French translation updated if user-facing behavior changed
  • No documentation change required

Architecture decisions

  • No architectural decision in this pull request

A repository-cosmetics rule (diff collapsing, language stats), not one of the ADR-triggering categories.

Related issues

Refs #167

🤖 Generated with Claude Code

https://claude.ai/code/session_0148FgVG3MkKn2kudM2TkmGa


Generated by Claude Code

Collapse doc/generated/gendoc/** in pull-request diffs and drop it from
the repository's language statistics: the tree is produced by the
gendoc-docs workflow, so a reviewer reads errors-diff.md rather than
the regenerated pages. Scoped to the gendoc output; the handwritten
doc/generated/README.md one level up is untouched.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0148FgVG3MkKn2kudM2TkmGa
@Reefact
Reefact merged commit 6739f56 into main Jul 17, 2026
13 checks passed
@Reefact
Reefact deleted the claude/mark-gendoc-catalog-generated branch July 17, 2026 13:12
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