Docs: add all unlisted docs routes to navigation (#31027)

* Docs: add missing platform pages to nav

* Docs: include all unlisted docs routes in nav

* Docs nav: classify routes by area and remove catch-all groups

* Docs nav: remove ja-JP AGENTS page entry

* Docs ja-JP: remove AGENTS translation workspace page

* Docs nav: remove refactor plans group

* Docs nav: remove .dev template pages

* Docs nav: remove operations hubs group
This commit is contained in:
Vincent Koc
2026-03-01 15:09:35 -08:00
committed by GitHub
parent 0f5348acb2
commit eb20793550
2 changed files with 142 additions and 53 deletions

View File

@@ -1,37 +0,0 @@
# AGENTS.md - ja-JP docs translation workspace
## Read When
- Maintaining `docs/ja-JP/**`
- Updating the Japanese translation pipeline (glossary/TM/prompt)
- Handling Japanese translation feedback or regressions
## Pipeline (docs-i18n)
- Source docs: `docs/**/*.md`
- Target docs: `docs/ja-JP/**/*.md`
- Glossary: `docs/.i18n/glossary.ja-JP.json`
- Translation memory: `docs/.i18n/ja-JP.tm.jsonl`
- Prompt rules: `scripts/docs-i18n/prompt.go`
Common runs:
```bash
# Bulk (doc mode; parallel OK)
cd scripts/docs-i18n
go run . -docs ../../docs -lang ja-JP -mode doc -parallel 6 ../../docs/**/*.md
# Single file
cd scripts/docs-i18n
go run . -docs ../../docs -lang ja-JP -mode doc ../../docs/start/getting-started.md
# Small patches (segment mode; uses TM; no parallel)
cd scripts/docs-i18n
go run . -docs ../../docs -lang ja-JP -mode segment ../../docs/start/getting-started.md
```
Notes:
- Prefer `doc` mode for whole-page translation; `segment` mode for small fixes.
- If a very large file times out, do targeted edits or split the page before rerunning.
- After translation, spot-check: code spans/blocks unchanged, links/anchors unchanged, placeholders preserved.