From 36ff596f3d54a9642252a960554a31270bb408fb Mon Sep 17 00:00:00 2001 From: Lee Date: Tue, 24 Sep 2024 18:25:03 +0800 Subject: [PATCH] refactor(config): update RLE.wiki theme configuration (#438) --- docs/.vitepress/config.ts | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/docs/.vitepress/config.ts b/docs/.vitepress/config.ts index ad4a9302..31852ff6 100644 --- a/docs/.vitepress/config.ts +++ b/docs/.vitepress/config.ts @@ -87,10 +87,9 @@ const sidebarOptions = [ const themeConfig: ThemeContext = { siteTitle: 'RLE.wiki', siteDescription: '一份 RLE 指北', - logo: { - src: '/logo-horizontal.svg', - alt: 'Logo: RLE.wiki', - }, + siteLogo: '/logo-horizontal.svg', + // SiteTitle值为false时,logo位置不显示标题。未定义SiteTitle时,显示标题。SiteTitle值为abcd时,显示abcd。 + SiteTitle: false, /** Repo */ githubRepoLink: 'https://github.com/project-trans/RLE-wiki', /** vitepress 根目录 */