From 4eaa9aec34640078a982d567f953c54229845ffe Mon Sep 17 00:00:00 2001 From: huncle982 <1391627585@qq.com> Date: Thu, 14 Aug 2025 10:17:59 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8F=96=E6=B6=88=E2=80=99=E7=AE=80=E4=BD=93?= =?UTF-8?q?=E4=B8=AD=E6=96=87=E2=80=98=E4=B8=8B=E6=8B=89=E8=8F=9C=E5=8D=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docusaurus.config.ts | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/docusaurus.config.ts b/docusaurus.config.ts index d15cbd3..266e7b6 100644 --- a/docusaurus.config.ts +++ b/docusaurus.config.ts @@ -32,10 +32,10 @@ const config: Config = { // Even if you don't use internationalization, you can use this field to set // useful metadata like html lang. For example, if your site is Chinese, you // may want to replace "en" with "zh-Hans". - i18n: { - defaultLocale: 'zh-Hans', - locales: ['zh-Hans'], - }, + // i18n: { + // defaultLocale: 'zh-Hans', + // locales: ['zh-Hans'], + // }, presets: [ [ @@ -194,10 +194,10 @@ const config: Config = { className: 'gai-navbar-item', activeBaseRegex: '^/docs.*', }, - { - type: 'localeDropdown', - position: 'right', - }, + // { + // type: 'localeDropdown', + // position: 'right', + // }, ], }, footer: { @@ -281,7 +281,7 @@ const config: Config = { { // 中文搜索配置 hashed: true, - language: ['en', 'zh'], + language: ['zh'], indexDocs: true, indexBlog: false, indexPages: false, -- Gitee