mirror of
https://github.com/LiteyukiStudio/nonebot-plugin-marshoai.git
synced 2025-01-26 18:12:47 +08:00
✨ 修改文档配置,禁用从索引文件获取文件夹标题;更新图标和 logo 路径
This commit is contained in:
parent
19aadc3271
commit
8c06f1336e
@ -10,7 +10,7 @@ const commonSidebarOptions = {
|
||||
collapsed: true,
|
||||
convertSameNameSubFileToGroupIndexPage: true,
|
||||
useTitleFromFrontmatter: true,
|
||||
useFolderTitleFromIndexFile: true,
|
||||
useFolderTitleFromIndexFile: false,
|
||||
useFolderLinkFromIndexFile: true,
|
||||
includeFolderIndexFile: true,
|
||||
rootGroupText: 'MARSHOAI',
|
||||
|
@ -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'
|
||||
},
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user