diff --git a/docusaurus.config.ts b/docusaurus.config.ts index d15cbd302e573a36ac6fe4c025d2a903a2f8de8c..266e7b6390ca048a000612df33c916ea412ef55f 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,