module.exports = { title: "FateVerse",// 文档标题,左上角显示 description: "FateVerse | 缘境", 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: 1, // 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/notice/', // '/module/visual/', '/module/code-gen/', '/module/custom-query/', '/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 }, ] } };