From 8c06f1336e1e406dc4962d12d361fd920b994c02 Mon Sep 17 00:00:00 2001 From: Snowykami Date: Sat, 14 Dec 2024 18:47:16 +0800 Subject: [PATCH] =?UTF-8?q?=E2=9C=A8=20=E4=BF=AE=E6=94=B9=E6=96=87?= =?UTF-8?q?=E6=A1=A3=E9=85=8D=E7=BD=AE=EF=BC=8C=E7=A6=81=E7=94=A8=E4=BB=8E?= =?UTF-8?q?=E7=B4=A2=E5=BC=95=E6=96=87=E4=BB=B6=E8=8E=B7=E5=8F=96=E6=96=87?= =?UTF-8?q?=E4=BB=B6=E5=A4=B9=E6=A0=87=E9=A2=98=EF=BC=9B=E6=9B=B4=E6=96=B0?= =?UTF-8?q?=E5=9B=BE=E6=A0=87=E5=92=8C=20logo=20=E8=B7=AF=E5=BE=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/.vitepress/config/common.ts | 2 +- docs/.vitepress/config/index.ts | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/.vitepress/config/common.ts b/docs/.vitepress/config/common.ts index 28321dbc..372af041 100644 --- a/docs/.vitepress/config/common.ts +++ b/docs/.vitepress/config/common.ts @@ -10,7 +10,7 @@ const commonSidebarOptions = { collapsed: true, convertSameNameSubFileToGroupIndexPage: true, useTitleFromFrontmatter: true, - useFolderTitleFromIndexFile: true, + useFolderTitleFromIndexFile: false, useFolderLinkFromIndexFile: true, includeFolderIndexFile: true, rootGroupText: 'MARSHOAI', diff --git a/docs/.vitepress/config/index.ts b/docs/.vitepress/config/index.ts index 2da2ba6f..adecdd2f 100644 --- a/docs/.vitepress/config/index.ts +++ b/docs/.vitepress/config/index.ts @@ -7,7 +7,7 @@ import { generateSidebar } from 'vitepress-sidebar' // https://vitepress.dev/reference/site-config export default defineConfig({ head: [ - ['link', { rel: 'icon', type: 'image/x-icon', href: './favicon.ico' }], + ['link', { rel: 'icon', type: 'image/x-icon', href: 'favicon.ico' }], ], rewrites: { [`${defaultLang}/:rest*`]: ":rest*", @@ -16,8 +16,8 @@ export default defineConfig({ themeConfig: { // https://vitepress.dev/reference/default-theme-config logo: { - light: './marsho-full.svg', - dark: './marsho-full.svg', + light: 'marsho-full.svg', + dark: 'marsho-full.svg', alt: 'Marsho Logo' },