Skip to content

Commit cf8b0df

Browse files
author
shijiashuai
committed
docs: align zh docs with TRANSLATION_SCOPE policy
- Remove zh/exercises and zh/reference/api (English-only per policy) - Update zh sidebar to link to English exercises/api - Add clear navigation to English-only content in zh/index.md - Fix dead links in VitePress config
1 parent b6168e3 commit cf8b0df

10 files changed

Lines changed: 9 additions & 2401 deletions

File tree

docs/.vitepress/config.ts

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -206,11 +206,7 @@ export default defineConfig({
206206
{
207207
text: '练习',
208208
items: [
209-
{ text: '概述', link: '/zh/exercises/' },
210-
{ text: '内存优化', link: '/zh/exercises/module-02-memory' },
211-
{ text: 'SIMD', link: '/zh/exercises/module-04-simd' },
212-
{ text: '并发', link: '/zh/exercises/module-05-concurrency' },
213-
{ text: '解答', link: '/zh/exercises/solutions' },
209+
{ text: '练习(英文)', link: '/en/exercises/' },
214210
],
215211
},
216212
{
@@ -219,9 +215,7 @@ export default defineConfig({
219215
{ text: '常见问题', link: '/zh/reference/faq' },
220216
{ text: '故障排查', link: '/zh/reference/troubleshooting' },
221217
{ text: 'API 入口', link: '/zh/reference/api-reference' },
222-
{ text: '内存工具', link: '/zh/reference/api/memory-utils' },
223-
{ text: 'SIMD 包装器', link: '/zh/reference/api/simd-wrapper' },
224-
{ text: '基准测试工具', link: '/zh/reference/api/benchmark-utils' },
218+
{ text: 'API 参考(英文)', link: '/en/reference/api/memory-utils' },
225219
],
226220
},
227221
{

docs/zh/exercises/README.md

Lines changed: 0 additions & 125 deletions
This file was deleted.

0 commit comments

Comments
 (0)