PGuide-Docs/docs/.vuepress/plume.config.ts
2025-02-14 09:48:42 +08:00

71 lines
1.9 KiB
TypeScript

import { defineThemeConfig } from 'vuepress-theme-plume'
import { navbar } from './navbar'
import { notes } from './notes'
/**
* @see https://theme-plume.vuejs.press/config/basic/
*/
export default defineThemeConfig({
logo: '/logo.svg',
appearance: true, // 配置 深色模式
social: [
{ icon: 'github', link: 'https://github.com/PGuideStudio' },
{ icon: 'gitlab', link: 'https://zds.cqmu.edu.cn/pguide-studio' },
],
navbarSocialInclude: ['github', 'gitlab'], // 允许显示在导航栏的 social 社交链接
aside: true, // 页内侧边栏, 默认显示在右侧
outline: [2, 3], // 页内大纲, 默认显示 h2, h3
/**
* 文章版权信息
* @see https://theme-plume.vuejs.press/guide/features/copyright/
*/
copyright: true,
// prevPage: true, // 是否启用上一页链接
// nextPage: true, // 是否启用下一页链接
// createTime: true, // 是否显示文章创建时间
/* 站点页脚 */
footer: {
message: 'PGuide Studio © 2023-2025',
copyright: '',
},
/**
* @see https://theme-plume.vuejs.press/config/basic/#profile
*/
profile: {
avatar: 'https://theme-plume.vuejs.press/plume.png',
name: 'PGuide Docs',
description: '项导文档',
// circle: true,
// location: '',
// organization: '',
},
navbar,
notes,
/**
* 公告板
* @see https://theme-plume.vuejs.press/guide/features/bulletin/
*/
// bulletin: {
// layout: 'top-right',
// contentType: 'markdown',
// title: '公告板标题',
// content: '公告板内容',
// },
/* 过渡动画 @see https://theme-plume.vuejs.press/config/basic/#transition */
// transition: {
// page: true, // 启用 页面间跳转过渡动画
// postList: true, // 启用 博客文章列表过渡动画
// appearance: 'fade', // 启用 深色模式切换过渡动画, 或配置过渡动画类型
// },
})