Skip to content

docs(review-rules): sync system rules table with actual system_rules.json and add missing ru locale #608

Description

@lizhengfeng101

Description

The "Rule resolution per file" table in pages/src/content/docs/{en,ja,zh}/review-rules.md is missing 11 entries that are present in the actual internal/config/rules/system_rules.json. Additionally, the Russian (ru) locale is missing the review-rules.md page entirely.

Missing entries in the documentation table

Pattern Rule doc
**/*.go go.md
**/*.astro astro.md
**/*.py python.md
**/*.proto protobuf.md — Protocol Buffers wire compatibility.
**/*.po po.md
**/*.pot pot.md
**/*.{graphql,gql} graphql.md
**/*.prisma prisma.md
**/*.jl julia.md
**/*.{tf,hcl,tfvars} terraform.md
**/*.bicep bicep.md

Scope

  • File(s):
    • pages/src/content/docs/en/review-rules.md
    • pages/src/content/docs/ja/review-rules.md
    • pages/src/content/docs/zh/review-rules.md
    • pages/src/content/docs/ru/review-rules.md (new file)
  • Source of truth: internal/config/rules/system_rules.json
  • Area: documentation site

Acceptance Criteria

  • The "Rule resolution per file" table in en/review-rules.md includes all entries from system_rules.json
  • The same update is applied to ja/review-rules.md (translated to Japanese)
  • The same update is applied to zh/review-rules.md (translated to Chinese)
  • A new ru/review-rules.md is created with the full translated content
  • Table order matches the declaration order in system_rules.json

Context

Discovered by comparing the documentation table against internal/config/rules/system_rules.json. The three existing locale versions (en/ja/zh) are in sync with each other but all lag behind the code. The ru locale was recently added (#596) but only has installation.md and quickstart.md so far. The .proto entry was added in #473.

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentationgood first issueGood for newcomers

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions