Batch Check Chinese-English Sync Issues¶
This article is based on ./scripts/lsync.sh to batch detect sync issues between Chinese and English documents.
MacOS¶
In the repository root directory,
-
Make lsync.sh script executable (mainly to solve permission denied issue)
-
Check the sync status of Chinese and English documents in a folder
Output similar to:
1 1 docs/zh/docs/kpanda/user-guide/clusters/cluster-version.md 7 7 docs/zh/docs/kpanda/user-guide/clusters/access-cluster.md 7 5 docs/zh/docs/kpanda/user-guide/clusters/runtime.mdThe first number represents added lines, the second number represents deleted lines