mirror of
https://github.com/diegosouzapw/OmniRoute.git
synced 2026-09-20 22:02:19 +03:00
fix(docs): re-sync the 65 documentation mirror sets; section-level docs pipeline; drift gate blocking (#13940)
1,104 mirrors rewritten over five passes of run-translation on the 22-source core set: the 14 sources edited since their translation, the 322 mirrors that were still English copies, and the frontmatter the old extractor leaked into the newer locales' bodies. The pipeline now caches per-`## `-section hashes and retranslates only changed sections, never reuses a section that is still English, rebuilds English-copy / leaked mirrors even when the source is unchanged, merges the state on save (parallel runs), and the drift gate (scoped to the core set) is blocking. Final audit: 0 stale, 0 English copies, 0 leaked frontmatter across 1,430 core mirrors. ⚠️ base-red inherited: #12732
This commit is contained in:
committed by
GitHub
parent
cb9740b78d
commit
b637350680
7
.github/workflows/ci.yml
vendored
7
.github/workflows/ci.yml
vendored
@@ -453,8 +453,11 @@ jobs:
|
||||
# One FS inventory of src/app/api for both anti-hallucination directions.
|
||||
- name: API docs refs (openapi + prose → routes)
|
||||
run: npm run check:api-docs-refs
|
||||
- name: i18n translation drift (warn)
|
||||
run: node scripts/i18n/check-translation-drift.mjs --warn
|
||||
# Blocking since the 2026-09 docs re-sync: a core doc edited without `npm run i18n:run
|
||||
# --files=<doc>` (or `--adopt` for a mechanical edit) leaves 65 stale mirrors behind;
|
||||
# the run only retranslates the `## ` sections whose text changed, so it is cheap.
|
||||
- name: i18n docs drift (sources changed since their translation)
|
||||
run: node scripts/i18n/check-translation-drift.mjs
|
||||
|
||||
docs-lint:
|
||||
name: Docs Lint (prose — advisory)
|
||||
|
||||
Reference in New Issue
Block a user