|
| 1 | +import type {NavbarConfig} from '@vuepress/theme-default' |
| 2 | +import {version} from '../' |
| 3 | + |
| 4 | +export const en: NavbarConfig = [ |
| 5 | + { |
| 6 | + text: 'Guide', |
| 7 | + link: '/guide/' |
| 8 | + }, |
| 9 | + { |
| 10 | + text: 'Reference', |
| 11 | + children: [ |
| 12 | + { |
| 13 | + text: 'VuePress', |
| 14 | + children: [ |
| 15 | + { |
| 16 | + text: 'CLI', |
| 17 | + link: '/reference/cli.html' |
| 18 | + }, |
| 19 | + '/reference/config.md', |
| 20 | + '/reference/frontmatter.md', |
| 21 | + '/reference/components.md', |
| 22 | + '/reference/plugin-api.md', |
| 23 | + '/reference/theme-api.md', |
| 24 | + '/reference/client-api.md', |
| 25 | + '/reference/node-api.md' |
| 26 | + ] |
| 27 | + }, |
| 28 | + { |
| 29 | + text: 'Bundlers', |
| 30 | + children: ['/reference/bundler/vite.md', '/reference/bundler/webpack.md'] |
| 31 | + }, |
| 32 | + { |
| 33 | + text: 'Default Theme', |
| 34 | + children: [ |
| 35 | + '/reference/default-theme/config.md', |
| 36 | + '/reference/default-theme/frontmatter.md', |
| 37 | + '/reference/default-theme/components.md', |
| 38 | + '/reference/default-theme/markdown.md', |
| 39 | + '/reference/default-theme/styles.md', |
| 40 | + '/reference/default-theme/extending.md' |
| 41 | + ] |
| 42 | + } |
| 43 | + ] |
| 44 | + }, |
| 45 | + { |
| 46 | + text: 'Plugins', |
| 47 | + children: [ |
| 48 | + { |
| 49 | + text: 'Common Features', |
| 50 | + children: [ |
| 51 | + '/reference/plugin/back-to-top.md', |
| 52 | + '/reference/plugin/container.md', |
| 53 | + '/reference/plugin/external-link-icon.md', |
| 54 | + '/reference/plugin/google-analytics.md', |
| 55 | + '/reference/plugin/medium-zoom.md', |
| 56 | + '/reference/plugin/nprogress.md', |
| 57 | + '/reference/plugin/register-components.md' |
| 58 | + ] |
| 59 | + }, |
| 60 | + { |
| 61 | + text: 'Content Search', |
| 62 | + children: ['/reference/plugin/docsearch.md', '/reference/plugin/search.md'] |
| 63 | + }, |
| 64 | + { |
| 65 | + text: 'PWA', |
| 66 | + children: ['/reference/plugin/pwa.md', '/reference/plugin/pwa-popup.md'] |
| 67 | + }, |
| 68 | + { |
| 69 | + text: 'Syntax Highlighting', |
| 70 | + children: ['/reference/plugin/prismjs.md', '/reference/plugin/shiki.md'] |
| 71 | + }, |
| 72 | + { |
| 73 | + text: 'Theme Development', |
| 74 | + children: [ |
| 75 | + '/reference/plugin/active-header-links.md', |
| 76 | + '/reference/plugin/git.md', |
| 77 | + '/reference/plugin/palette.md', |
| 78 | + '/reference/plugin/theme-data.md', |
| 79 | + '/reference/plugin/toc.md' |
| 80 | + ] |
| 81 | + } |
| 82 | + ] |
| 83 | + }, |
| 84 | + { |
| 85 | + text: 'Learn More', |
| 86 | + children: [ |
| 87 | + { |
| 88 | + text: 'Advanced', |
| 89 | + children: [ |
| 90 | + '/advanced/architecture.md', |
| 91 | + '/advanced/plugin.md', |
| 92 | + '/advanced/theme.md', |
| 93 | + { |
| 94 | + text: 'Cookbook', |
| 95 | + link: '/advanced/cookbook/' |
| 96 | + } |
| 97 | + ] |
| 98 | + }, |
| 99 | + { |
| 100 | + text: 'Resources', |
| 101 | + children: [ |
| 102 | + '/contributing.md', |
| 103 | + { |
| 104 | + text: 'Awesome VuePress', |
| 105 | + link: 'https://github.com/vuepress/awesome-vuepress' |
| 106 | + } |
| 107 | + ] |
| 108 | + } |
| 109 | + ] |
| 110 | + }, |
| 111 | + { |
| 112 | + text: `v${version}`, |
| 113 | + children: [ |
| 114 | + { |
| 115 | + text: 'Changelog', |
| 116 | + link: 'https://github.com/vuepress/vuepress-next/blob/main/CHANGELOG.md' |
| 117 | + }, |
| 118 | + { |
| 119 | + text: 'v1.x', |
| 120 | + link: 'https://v1.vuepress.vuejs.org' |
| 121 | + }, |
| 122 | + { |
| 123 | + text: 'v0.x', |
| 124 | + link: 'https://v0.vuepress.vuejs.org' |
| 125 | + } |
| 126 | + ] |
| 127 | + } |
| 128 | +] |
0 commit comments