100 lines
2.8 KiB
JavaScript
100 lines
2.8 KiB
JavaScript
module.exports = {
|
||
title: "Security Cloud",// 文档标题,左上角显示
|
||
description: "Security Cloud",
|
||
markdown: {
|
||
lineNumbers: true // 代码块显示行号
|
||
},
|
||
themeConfig: {
|
||
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.odliken.cn/"}
|
||
],
|
||
/**
|
||
* 设置侧边栏最大深度
|
||
* 一般是以单个md文件中的 # ## ### #### 这几个标题文字为锚点自动生成导航
|
||
* **/
|
||
sidebarDepth: 4,
|
||
// sidebarDepth: 0, //0读取1级标题 1读取1级和2级标题 2读取1级、2级、3级标题
|
||
// 设置侧边栏内容
|
||
sidebar: [
|
||
// {
|
||
// title: '本文档使用教程',
|
||
// collapsable: false,
|
||
// children: [
|
||
// '/document/',
|
||
// // {
|
||
// // title: '侧边栏组合',
|
||
// // // collapsable: true,
|
||
// // children: [
|
||
// // '/second/child/'
|
||
// // ]
|
||
// // }
|
||
// ]
|
||
// },
|
||
{
|
||
title: '文档',
|
||
collapsable: false,
|
||
children: [
|
||
'/wiki/introduce/',
|
||
'/wiki/back-build/'
|
||
] // 根据自己的需求来订,对应自己在docs下的文件夹名,默认首页是README.md
|
||
},
|
||
{
|
||
title: '模块介绍',
|
||
collapsable: false,
|
||
children: [
|
||
'/module/',
|
||
'/module/common/',
|
||
'/module/gateway/',
|
||
'/module/auth/',
|
||
'/module/umps/',
|
||
'/module/visual/',
|
||
] // 根据自己的需求来订,对应自己在docs下的文件夹名,默认首页是README.md
|
||
},
|
||
{
|
||
title: '功能使用',
|
||
collapsable: false,
|
||
children: [
|
||
'/use/spring-amin/',
|
||
'/use/sentinel-dashboard/',
|
||
] // 根据自己的需求来订,对应自己在docs下的文件夹名,默认首页是README.md
|
||
},
|
||
{
|
||
title: '工具类使用',
|
||
collapsable: false,
|
||
children: [
|
||
'/util/tree-util/',
|
||
'/util/excel/',
|
||
] // 根据自己的需求来订,对应自己在docs下的文件夹名,默认首页是README.md
|
||
},
|
||
{
|
||
title: 'CI/CD',
|
||
collapsable: false,
|
||
children: [
|
||
'/ci-cd/',
|
||
'/ci-cd/gitea/',
|
||
'/ci-cd/drone/',
|
||
'/ci-cd/harbor/',
|
||
'/ci-cd/rancher/',
|
||
'/ci-cd/integration/',
|
||
] // 根据自己的需求来订,对应自己在docs下的文件夹名,默认首页是README.md
|
||
},
|
||
]
|
||
}
|
||
};
|
||
|
||
|