mirror of
https://github.com/m1ngsama/documents.git
synced 2025-12-24 10:51:23 +00:00
53 lines
1.3 KiB
TypeScript
53 lines
1.3 KiB
TypeScript
import { getMeetingMinutesSidebar } from '../meetings/sidebar'
|
|
import { withMermaid } from "vitepress-plugin-mermaid"
|
|
|
|
// https://vitepress.dev/reference/site-config
|
|
export default withMermaid({
|
|
title: "计算机协会文档",
|
|
description: "Documents for nbtca",
|
|
themeConfig: {
|
|
// https://vitepress.dev/reference/default-theme-config
|
|
nav: [
|
|
{ text: '会议记录', link: '/meetings' },
|
|
{ text: '流程', link: '/process/borrow-classroom' },
|
|
{ text: '维修', link: '/repair/tools' }
|
|
],
|
|
search: {
|
|
provider: "local"
|
|
},
|
|
sidebar: {
|
|
'/meetings/': [
|
|
{
|
|
text: '会议记录',
|
|
link: '/meetings'
|
|
},
|
|
...getMeetingMinutesSidebar(),
|
|
],
|
|
'/process/': [
|
|
{
|
|
text: '流程',
|
|
items: [
|
|
{ text: '借教室', link: '/process/borrow-classroom' }
|
|
]
|
|
}
|
|
],
|
|
'/repair/': [
|
|
{
|
|
text: '维修',
|
|
items: [
|
|
{ text: 'Tools', link: '/repair/tools' },
|
|
]
|
|
}
|
|
]
|
|
},
|
|
editLink: {
|
|
pattern: 'https://github.com/nbtca/documents/edit/main/:path',
|
|
text: 'Edit this page on GitHub'
|
|
},
|
|
socialLinks: [
|
|
{ icon: 'github', link: 'https://github.com/nbtca/documents' }
|
|
]
|
|
},
|
|
ignoreDeadLinks: true,
|
|
lastUpdated: true,
|
|
})
|