config.js 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. module.exports = {
  2. title: 'Vue Antd Admin',
  3. description: 'Vue Antd Admin',
  4. base: '/vue-antd-admin-docs/',
  5. head: [
  6. ['link', { rel: 'icon', href: '/favicon.ico' }]
  7. ],
  8. themeConfig: {
  9. logo: '/logo.png',
  10. repo: 'iczer/vue-antd-admin',
  11. docsDir: 'docs',
  12. editLinks: true,
  13. editLinkText: '在 Github 上帮助我们编辑此页',
  14. nav: [
  15. {text: '指南', link: '/'},
  16. {text: '配置', link: '/develop/layout'},
  17. {text: '主题', link: '/advance/theme'},
  18. ],
  19. lastUpdated: 'Last Updated',
  20. sidebar: [
  21. {
  22. title: '开始',
  23. collapsable: false,
  24. children: [
  25. '/start/use', '/start/faq'
  26. ]
  27. },
  28. {
  29. title: '开发',
  30. collapsable: false,
  31. children: [
  32. '/develop/layout', '/develop/router', '/develop/page', '/develop/theme', '/develop/service', '/develop/mock'
  33. ]
  34. },
  35. {
  36. title: '进阶',
  37. collapsable: false,
  38. children: [
  39. '/advance/i18n', '/advance/async', '/advance/authority', '/advance/login', '/advance/guard', '/advance/interceptors',
  40. '/advance/api'
  41. ]
  42. },
  43. {
  44. title: '其它',
  45. collapsable: false,
  46. children: [
  47. '/other/upgrade', '/other/community'
  48. ]
  49. }
  50. ],
  51. nextLinks: true,
  52. prevLinks: true,
  53. },
  54. plugins: ['@vuepress/back-to-top', require('./plugins/alert')],
  55. markdown: {
  56. lineNumbers: true
  57. }
  58. }