59 lines
1.6 KiB
JavaScript
59 lines
1.6 KiB
JavaScript
module.exports = {
|
||
title: "Cloud Security",// 设置文档标题,左上角显示
|
||
description: "Cloud Security",
|
||
plugins: ['@vuepress/back-to-top'],//此处是添加返回顶部的插件
|
||
markdown: {
|
||
lineNumbers: true // 代码块显示行号
|
||
},
|
||
themeConfig: {
|
||
// logo:'/logo.png',
|
||
//最后更新时间
|
||
// lastUpdated: 'Last Updated',
|
||
head: [
|
||
['link', {rel: 'icon', href: '/logo.png'}],
|
||
],
|
||
//nav配置
|
||
nav:
|
||
[
|
||
{text: "首页", link: "/"},
|
||
{text: "指南", link: "/wiki/introduce/"},
|
||
// {
|
||
// text: "选择语言",
|
||
// items: [
|
||
// {text: "English", link: "/language/english"},
|
||
// {text: "简体中文", link: "/language/chinese"}
|
||
// ]
|
||
// },
|
||
{text: "博客", link: "https://blog.isww.cn/"}
|
||
],
|
||
sidebarDepth: 2,
|
||
// 设置侧边栏内容
|
||
sidebar: [
|
||
{
|
||
title: '文档',
|
||
collapsable: false,
|
||
children: [
|
||
'/wiki/introduce/',
|
||
'/wiki/back-build/',
|
||
// {
|
||
// title: "侧边栏组合",
|
||
// collapsable: false,
|
||
// children: [
|
||
// "/second/child/"
|
||
// ]
|
||
// }
|
||
] // 根据自己的需求来订,对应自己在docs下的文件夹名,默认首页是README.md
|
||
},
|
||
{
|
||
title: '教程',
|
||
collapsable: false,
|
||
children: [
|
||
'/document/'
|
||
] // 根据自己的需求来订,对应自己在docs下的文件夹名,默认首页是README.md
|
||
},
|
||
]
|
||
}
|
||
};
|
||
|
||
|