diff --git a/docs/content/docs/contributing.cn.mdx b/docs/content/docs/contributing.cn.mdx index ed41261dc5..8095c86b02 100644 --- a/docs/content/docs/contributing.cn.mdx +++ b/docs/content/docs/contributing.cn.mdx @@ -242,9 +242,10 @@ rg "要查找的文字" apps/desktop/src crates src-tauri packages ```text docs/content/docs/example.mdx docs/content/docs/example.cn.mdx -docs/content/docs/example.tr.mdx ``` +当前文档站语言以 `docs/lib/i18n.ts`、`docs/scripts/languages.mjs` 为准(现为 `en` / `cn`)。 + 启动文档站: ```bash @@ -264,7 +265,6 @@ pnpm dev ```text docs/content/docs/meta.json docs/content/docs/meta.cn.json -docs/content/docs/meta.tr.json ``` 提交前先运行快速内容检查,再执行完整文档构建: diff --git a/docs/content/docs/contributing.mdx b/docs/content/docs/contributing.mdx index 0927a961a1..e69eb30d9a 100644 --- a/docs/content/docs/contributing.mdx +++ b/docs/content/docs/contributing.mdx @@ -242,9 +242,10 @@ Documentation is the easiest first contribution. Every language uses the same ba ```text docs/content/docs/example.mdx docs/content/docs/example.cn.mdx -docs/content/docs/example.tr.mdx ``` +Docs site languages follow `docs/lib/i18n.ts` and `docs/scripts/languages.mjs` (currently `en` / `cn`). + Start the docs site: ```bash @@ -264,7 +265,6 @@ Open the local address printed in the terminal. When adding a page, also registe ```text docs/content/docs/meta.json docs/content/docs/meta.cn.json -docs/content/docs/meta.tr.json ``` Run the fast content check and then the full documentation build before submitting: