diff options
| author | Ogulcan Celik <ogulcancelik@gmail.com> | 2026-07-06 04:53:05 +0300 |
|---|---|---|
| committer | Ogulcan Celik <ogulcancelik@gmail.com> | 2026-07-06 04:54:21 +0300 |
| commit | d36a6ded3bbc623a3fcad3c6e45b7b22ae9b6267 (patch) | |
| tree | 2777d83cbb67ebc2cabd6bffe5e22432c490f62b /justfile | |
| parent | b04c6496a8c08059b8cc83ab29a51023f16c76cd (diff) | |
feat(website): add japanese and simplified chinese docs with i18n, translation issue flow
Diffstat (limited to 'justfile')
| -rw-r--r-- | justfile | 16 |
1 files changed, 16 insertions, 0 deletions
@@ -93,6 +93,22 @@ release-docs-check: exit 1; \ fi; \ done + @for file in website/src/content/docs/*.mdx; do \ + for locale in ja zh-cn; do \ + translated="website/src/content/docs/$locale/$(basename "$file")"; \ + if [ ! -f "$translated" ]; then \ + echo "error: $translated is missing; translate stable docs before releasing"; \ + exit 1; \ + fi; \ + done; \ + done + @for file in website/src/content/docs/ja/*.mdx website/src/content/docs/zh-cn/*.mdx; do \ + released="website/src/content/docs/$(basename "$file")"; \ + if [ ! -f "$released" ]; then \ + echo "error: $file has no matching english doc; remove the stale translation"; \ + exit 1; \ + fi; \ + done # Prepare the release commit without tagging or pushing (usage: just release-prepare 0.1.1) release-prepare version: |
