From 29dbc1b247cdc8f7302881d8bf33ec78d320e445 Mon Sep 17 00:00:00 2001 From: Chushen Date: Tue, 9 Jan 2024 18:48:06 +0800 Subject: [PATCH] refactor: disable english mode, fix doc link --- .dumi/pages/{download.en-US.tsx => .download.en-US.tsx} | 0 .dumi/pages/{index.en-US.tsx => .index.en-US.tsx} | 0 .dumi/pages/{openkg.en-US.tsx => .openkg.en-US.tsx} | 0 .dumi/theme/layouts/GlobalLayout.tsx | 2 +- .dumirc.ts | 8 ++++---- 5 files changed, 5 insertions(+), 5 deletions(-) rename .dumi/pages/{download.en-US.tsx => .download.en-US.tsx} (100%) rename .dumi/pages/{index.en-US.tsx => .index.en-US.tsx} (100%) rename .dumi/pages/{openkg.en-US.tsx => .openkg.en-US.tsx} (100%) diff --git a/.dumi/pages/download.en-US.tsx b/.dumi/pages/.download.en-US.tsx similarity index 100% rename from .dumi/pages/download.en-US.tsx rename to .dumi/pages/.download.en-US.tsx diff --git a/.dumi/pages/index.en-US.tsx b/.dumi/pages/.index.en-US.tsx similarity index 100% rename from .dumi/pages/index.en-US.tsx rename to .dumi/pages/.index.en-US.tsx diff --git a/.dumi/pages/openkg.en-US.tsx b/.dumi/pages/.openkg.en-US.tsx similarity index 100% rename from .dumi/pages/openkg.en-US.tsx rename to .dumi/pages/.openkg.en-US.tsx diff --git a/.dumi/theme/layouts/GlobalLayout.tsx b/.dumi/theme/layouts/GlobalLayout.tsx index 4b3a128..f52492b 100644 --- a/.dumi/theme/layouts/GlobalLayout.tsx +++ b/.dumi/theme/layouts/GlobalLayout.tsx @@ -26,7 +26,7 @@ export default () => { }, BUTTON_GROUP: { Github: 'https://github.com/OpenSPG/openspg', - Documentation: 'quick-start', + Documentation: 'introduction/general', WhitePaper: 'download', }, ANNOUNCEMENT: [ diff --git a/.dumirc.ts b/.dumirc.ts index dcb429e..d254afc 100644 --- a/.dumirc.ts +++ b/.dumirc.ts @@ -39,10 +39,10 @@ export default defineConfig({ content: '语义增强可编程知识图谱SPG', }, ], - locales: [ - { id: 'zh-CN', name: '中文' }, - { id: 'en-US', name: 'English' }, - ], + // locales: [ + // { id: 'zh-CN', name: '中文' }, + // { id: 'en-US', name: 'English' }, + // ], logo: 'https://mdn.alipayobjects.com/huamei_xgb3qj/afts/img/A*D5uYQpLS8dsAAAAAAAAAAAAADtmcAQ/original', ...(process.env.NODE_ENV === 'production' ? ProductionConfig : {}), });