aboutsummaryrefslogtreecommitdiff
path: root/justfile
diff options
context:
space:
mode:
authorOgulcan Celik <ogulcancelik@gmail.com>2026-07-06 04:53:05 +0300
committerOgulcan Celik <ogulcancelik@gmail.com>2026-07-06 04:54:21 +0300
commitd36a6ded3bbc623a3fcad3c6e45b7b22ae9b6267 (patch)
tree2777d83cbb67ebc2cabd6bffe5e22432c490f62b /justfile
parentb04c6496a8c08059b8cc83ab29a51023f16c76cd (diff)
feat(website): add japanese and simplified chinese docs with i18n, translation issue flow
Diffstat (limited to 'justfile')
-rw-r--r--justfile16
1 files changed, 16 insertions, 0 deletions
diff --git a/justfile b/justfile
index 51b11154..97c02d0e 100644
--- a/justfile
+++ b/justfile
@@ -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: