82 lines
1.9 KiB
TypeScript
82 lines
1.9 KiB
TypeScript
import { defineThemeConfig } from 'vuepress-theme-plume'
|
|
|
|
/**
|
|
* @see https://theme-plume.vuejs.press/config/basic/
|
|
*/
|
|
export default defineThemeConfig({
|
|
logo: 'logo.png',
|
|
|
|
appearance: true, // 配置 深色模式
|
|
|
|
navbar: [
|
|
{ text: '首页', link: '/' },
|
|
{ text: '随记', link: '/notes/' },
|
|
{ text: '文档', link: '/doc/AD9910/AD9910' },
|
|
{ text: '归档', items: [{ text: '笔记', link: '/笔记/' }] },
|
|
{ text: '更新日志', link: '/updatelog/Web/Web' },
|
|
{ text: '友链', link: '/friends/' },
|
|
],
|
|
collections: [
|
|
{
|
|
type: 'post',
|
|
dir: 'blog',
|
|
title: '博客',
|
|
link: '/blog/',
|
|
},
|
|
{
|
|
type: 'post',
|
|
dir: 'notes',
|
|
title: '随记',
|
|
link: '/notes/',
|
|
},
|
|
{
|
|
type: 'doc',
|
|
dir: '笔记',
|
|
title: '笔记',
|
|
sidebar: 'auto',
|
|
sidebarCollapsed: true,
|
|
},
|
|
{
|
|
type: 'doc',
|
|
dir: 'categories',
|
|
title: '杂谈',
|
|
},
|
|
{
|
|
type: 'doc',
|
|
dir: 'doc',
|
|
title: '文档',
|
|
linkPrefix: '/doc/',
|
|
sidebar: [
|
|
{ prefix: 'AD9910', items: ['AD9910'] },
|
|
{ prefix: 'glm3', items: ['GLM3'] },
|
|
],
|
|
},
|
|
{
|
|
type: 'doc',
|
|
dir: 'updatelog',
|
|
title: '更新日志',
|
|
linkPrefix: '/updatelog/',
|
|
sidebar: [
|
|
{ prefix: 'Bot', items: ['Bot', '21.08.20前累积更新日志'] },
|
|
{
|
|
prefix: 'Web',
|
|
items: [
|
|
'Web',
|
|
'23.05.01前累积更新日志',
|
|
'22.05.16前累积更新日志',
|
|
'21.08.16前累积更新日志',
|
|
],
|
|
},
|
|
],
|
|
},
|
|
],
|
|
footer: {
|
|
// message: "",
|
|
copyright:
|
|
'<a href=\'http://www.beian.miit.gov.cn/\'>鄂ICP备2022017895号-1</a> | <a href=\'http://www.beian.gov.cn/portal/registerSystemInfo?recordcode=42011102005054\'>鄂公网安备 42011102005054号</a>',
|
|
},
|
|
prevPage: false,
|
|
nextPage: false,
|
|
createTime: 'only-posts',
|
|
})
|