en.ts 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107
  1. import type { NavbarOptions } from "@vuepress/theme-default";
  2. export const navbarEn: NavbarOptions = [
  3. {
  4. text: "Documentation",
  5. children: [
  6. "/docs/README.md",
  7. {
  8. text: "Routes",
  9. link: "/docs/routes/README.md",
  10. },
  11. ],
  12. },
  13. /*{
  14. text: 'Routes',
  15. children: [
  16. {
  17. text: 'Core',
  18. children: [
  19. {
  20. text: 'CLI',
  21. link: '/reference/cli.html',
  22. },
  23. '/reference/config.md',
  24. '/reference/frontmatter.md',
  25. '/reference/components.md',
  26. '/reference/plugin-api.md',
  27. '/reference/theme-api.md',
  28. '/reference/client-api.md',
  29. '/reference/node-api.md',
  30. ],
  31. },
  32. {
  33. text: 'Bundlers',
  34. children: [
  35. '/reference/bundler/vite.md',
  36. '/reference/bundler/webpack.md',
  37. ],
  38. },
  39. {
  40. text: 'Ecosystem',
  41. children: [
  42. {
  43. text: 'Default Theme',
  44. link: 'https://ecosystem.vuejs.press/themes/default/',
  45. },
  46. {
  47. text: 'Plugins',
  48. link: 'https://ecosystem.vuejs.press/plugins/',
  49. },
  50. ],
  51. },
  52. ],
  53. },
  54. {
  55. text: 'Learn More',
  56. children: [
  57. {
  58. text: 'Advanced',
  59. children: [
  60. '/advanced/architecture.md',
  61. '/advanced/plugin.md',
  62. '/advanced/theme.md',
  63. {
  64. text: 'Cookbook',
  65. link: '/advanced/cookbook/',
  66. },
  67. ],
  68. },
  69. {
  70. text: 'Resources',
  71. children: [
  72. {
  73. text: 'Ecosystem',
  74. link: 'https://ecosystem.vuejs.press/',
  75. },
  76. {
  77. text: 'MarketPlace',
  78. link: 'https://marketplace.vuejs.press',
  79. },
  80. {
  81. text: 'Contributing Guide',
  82. link: 'https://github.com/vuepress/core/blob/main/CONTRIBUTING.md',
  83. },
  84. ],
  85. },
  86. ],
  87. },
  88. {
  89. text: `v${VERSION}`,
  90. children: [
  91. {
  92. text: 'Changelog',
  93. link: 'https://github.com/vuepress/core/blob/main/CHANGELOG.md',
  94. },
  95. {
  96. text: 'v1.x',
  97. link: 'https://v1.vuepress.vuejs.org',
  98. },
  99. {
  100. text: 'v0.x',
  101. link: 'https://v0.vuepress.vuejs.org',
  102. },
  103. ],
  104. },*/
  105. // TODO: remove the type assertion
  106. ] as NavbarOptions