From 974cf2d78adfeacc969f0c304a4b39fbcf39c371 Mon Sep 17 00:00:00 2001 From: wanchun <445436867@qq.com> Date: Wed, 15 Jun 2022 15:36:49 +0800 Subject: [PATCH] =?UTF-8?q?docs:=20=E6=96=87=E6=A1=A3=E6=90=9C=E7=B4=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/.vuepress/config.ts | 12 ++++++++++++ packages/fes-template/.fes.js | 2 +- 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/docs/.vuepress/config.ts b/docs/.vuepress/config.ts index 67ab9867..2cddf2e7 100644 --- a/docs/.vuepress/config.ts +++ b/docs/.vuepress/config.ts @@ -86,6 +86,18 @@ const config: UserConfig = { }, }, ], + [ + '@vuepress/docsearch', + { + apiKey: '09ff75bbe16bc6e166e103ffb57e10ea', + indexName: 'fesjs', + locales: { + '/': { + placeholder: '搜索文档', + }, + }, + }, + ], ], } diff --git a/packages/fes-template/.fes.js b/packages/fes-template/.fes.js index 2d2b290b..0ac088fa 100644 --- a/packages/fes-template/.fes.js +++ b/packages/fes-template/.fes.js @@ -36,7 +36,7 @@ export default { layout: { title: 'Fes.js', footer: 'Created by MumbleFE', - multiTabs: true, + multiTabs: false, navigation: 'side', theme: 'dark', menus: [