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,
|
collapsed: true,
|
||||||
convertSameNameSubFileToGroupIndexPage: true,
|
convertSameNameSubFileToGroupIndexPage: true,
|
||||||
useTitleFromFrontmatter: true,
|
useTitleFromFrontmatter: true,
|
||||||
useFolderTitleFromIndexFile: true,
|
useFolderTitleFromIndexFile: false,
|
||||||
useFolderLinkFromIndexFile: true,
|
useFolderLinkFromIndexFile: true,
|
||||||
includeFolderIndexFile: true,
|
includeFolderIndexFile: true,
|
||||||
rootGroupText: 'MARSHOAI',
|
rootGroupText: 'MARSHOAI',
|
||||||
|
@ -7,7 +7,7 @@ import { generateSidebar } from 'vitepress-sidebar'
|
|||||||
// https://vitepress.dev/reference/site-config
|
// https://vitepress.dev/reference/site-config
|
||||||
export default defineConfig({
|
export default defineConfig({
|
||||||
head: [
|
head: [
|
||||||
['link', { rel: 'icon', type: 'image/x-icon', href: './favicon.ico' }],
|
['link', { rel: 'icon', type: 'image/x-icon', href: 'favicon.ico' }],
|
||||||
],
|
],
|
||||||
rewrites: {
|
rewrites: {
|
||||||
[`${defaultLang}/:rest*`]: ":rest*",
|
[`${defaultLang}/:rest*`]: ":rest*",
|
||||||
@ -16,8 +16,8 @@ export default defineConfig({
|
|||||||
themeConfig: {
|
themeConfig: {
|
||||||
// https://vitepress.dev/reference/default-theme-config
|
// https://vitepress.dev/reference/default-theme-config
|
||||||
logo: {
|
logo: {
|
||||||
light: './marsho-full.svg',
|
light: 'marsho-full.svg',
|
||||||
dark: './marsho-full.svg',
|
dark: 'marsho-full.svg',
|
||||||
alt: 'Marsho Logo'
|
alt: 'Marsho Logo'
|
||||||
},
|
},
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user