module.exports = { title: "Cloud Security",// 文档标题,左上角显示 description: "Cloud Security", 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.isww.cn/"} ], /** * 设置侧边栏最大深度 * 一般是以单个md文件中的 # ## ### #### 这几个标题文字为锚点自动生成导航 * **/ sidebarDepth: 4, // sidebarDepth: 0, //0读取1级标题 1读取1级和2级标题 2读取1级、2级、3级标题 // 设置侧边栏内容 sidebar: [ { title: '文档', collapsable: true, children: [ '/wiki/introduce/' ] // 根据自己的需求来订,对应自己在docs下的文件夹名,默认首页是README.md }, { title: '第二个侧边栏', collapsable: true, children: [ '/second/', { title: '侧边栏组合', collapsable: true, children: [ '/second/child/' ] } ] } ] } };