Files
jiscuss-webapp/docs/.vuepress/config.js
T
2026-04-29 19:08:28 +08:00

80 lines
2.2 KiB
JavaScript

module.exports = {
title: "Jiscuss",
description: 'Jiscuss ,一个简单的、基于JAVA的开源论坛. -- By Yaoyuan',
dest: 'public',
head: [
['link', { rel: 'icon', href: '/favicon.ico' }],
['meta', { name: 'viewport', content: 'width=device-width,initial-scale=1,user-scalable=no' }]
],
theme: 'reco',
themeConfig: {
nav: [
{ text: '首页', link: '/', icon: 'reco-home' },
{ text: '文档', link: '/views/other/guide', icon: 'reco-document' },
{ text: 'Jiscuss Demo', link: 'http://demo.jiscuss.com', icon: 'reco-eye' },
{ text: 'Gitee', link: '/', icon: 'reco-mayun' },
{ text: 'GitHub', link: '/', icon: 'reco-github' },
{ text: 'Contact',
icon: 'reco-message',
items: [
{ text: 'Yaoyuan.io(作者)', link: 'http://www.yaoyuan.io', icon: 'reco-npm' },
{ text: 'GitHub(作者)', link: 'https://github.com/chuyaoyuan', icon: 'reco-github' },
{ text: 'WeChat(作者)', link: 'http://www.chuyaoyuan.com', icon: 'reco-wechat' },
]
}
],
type: 'doc',
// 博客设置
blogConfig: {
// category: {
// location: 2, // 在导航栏菜单中所占的位置,默认2
// text: 'Category' // 默认 “分类”
// },
// tag: {
// location: 3, // 在导航栏菜单中所占的位置,默认3
// text: 'Tag' // 默认 “标签”
// },
},
logo: '/head.png',
// 搜索设置
search: true,
searchMaxSuggestions: 10,
// 自动形成侧边导航
sidebar: 'auto',
// 最后更新时间
lastUpdated: 'Last Updated',
// 作者
author: 'yaoyuan',
// 备案号
record: '备案号',
// 项目开始时间
startYear: '2018'
/**
* 密钥 (if your blog is private)
*/
// keyPage: {
// keys: ['your password'],
// color: '#42b983',
// lineColor: '#42b983'
// },
/**
* valine 设置 (if you need valine comment )
*/
// valineConfig: {
// appId: '...',// your appId
// appKey: '...', // your appKey
// }
},
markdown: {
lineNumbers: true
},
plugins: [
'@vuepress/medium-zoom',
'flowchart'
]
}