|
| 1 | +/** |
| 2 | + * @see https://theme-plume.vuejs.press/config/navigation/ 查看文档了解配置详情 |
| 3 | + * |
| 4 | + * Navbar 配置文件,它在 `.vuepress/plume.config.ts` 中被导入。 |
| 5 | + */ |
| 6 | + |
| 7 | +import { defineNavbarConfig } from 'vuepress-theme-plume' |
| 8 | + |
| 9 | +export const zhNavbar = defineNavbarConfig([ |
| 10 | + // { text: '首页', link: '/zh/' }, |
| 11 | + // { text: '博客', link: '/zh/blog/' }, |
| 12 | + // { text: '标签', link: '/zh/blog/tags/' }, |
| 13 | + // { text: '归档', link: '/zh/blog/archives/' }, |
| 14 | + { |
| 15 | + text: '指南', |
| 16 | + // link: '/zh/guide/', |
| 17 | + icon: 'icon-park-outline:guide-board', |
| 18 | + items: [ |
| 19 | + |
| 20 | + { |
| 21 | + text: '基本信息', |
| 22 | + items: [ |
| 23 | + { |
| 24 | + text: '简介', |
| 25 | + link: '/zh/notes/guide/basicinfo/intro.md', |
| 26 | + icon: 'material-symbols-light:download-rounded', |
| 27 | + activeMatch: '^/guide/' |
| 28 | + }, |
| 29 | + { |
| 30 | + text: '框架设计', |
| 31 | + link: '/zh/notes/guide/basicinfo/framework.md', |
| 32 | + icon: 'material-symbols-light:download-rounded', |
| 33 | + activeMatch: '^/guide/' |
| 34 | + }, |
| 35 | + ] |
| 36 | + }, |
| 37 | + { |
| 38 | + text: '快速开始', |
| 39 | + items: [ |
| 40 | + { |
| 41 | + text: '安装', |
| 42 | + link: '/zh/notes/guide/quickstart/install.md', |
| 43 | + icon: 'material-symbols-light:download-rounded', |
| 44 | + activeMatch: '^/guide/' |
| 45 | + }, |
| 46 | + ] |
| 47 | + }, |
| 48 | + |
| 49 | + |
| 50 | + ] |
| 51 | + }, |
| 52 | + { |
| 53 | + text: 'API 文档', |
| 54 | + link: '/zh/notes/api/1.home.md', |
| 55 | + icon: 'material-symbols:article-outline' |
| 56 | + }, |
| 57 | + { |
| 58 | + text: '开发者指南', |
| 59 | + // items: [ |
| 60 | + // { text: "PR规范", link: '/zh/notes/dev_guide/pull_request.md' }, |
| 61 | + // { text: "日志", link: '/zh/notes/dev_guide/logging.md' }, |
| 62 | + // { text: "测试用例", link: '/zh/notes/dev_guide/testcase.md' }, |
| 63 | + // ] |
| 64 | + link: '/zh/notes/dev_guide/1.index_guide.md', |
| 65 | + }, |
| 66 | + // { |
| 67 | + // text: '笔记', |
| 68 | + // items: [{ text: '示例', link: '/zh/notes/demo/README.md' }] |
| 69 | + // }, |
| 70 | +]) |
| 71 | + |
0 commit comments