config.js 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. module.exports = {
  2. title: '数据中台',
  3. description: 'Just playing around',
  4. plugins: ['@vuepress/back-to-top'],
  5. themeConfig: {
  6. nav: [{ text: '主页', link: '/' },
  7. { text: '物理世界', link: '/rwd/' },
  8. { text: '人员组织权限', link: '/org/' },
  9. { text: '数据标准化', link: '/dic/'}
  10. ],
  11. sidebarDepth: 1,
  12. displayAllHeaders: true,
  13. sidebar: {
  14. '/org': [
  15. {
  16. title: '人员组织权限',
  17. collapsable: false,
  18. children: [
  19. {title: '接口文档', path: '/org/org_api'},
  20. {title: '数据结构设计', path: '/org/org_design'}
  21. ]
  22. }
  23. ],
  24. '/dic': [
  25. {
  26. title: '数据标准化',
  27. collapsable: false,
  28. children: [
  29. {title: '接口文档', path: '/dic/dic_api'},
  30. {title: '数据结构设计', path: '/dic/dic_design'}
  31. ]
  32. }
  33. ],
  34. '/rwd': [
  35. {
  36. title: '定义数据',
  37. collapsable: false,
  38. children: [{ title: '类型定义', path: '/rwd/def_class' }, { title: '信息点定义', path: '/rwd/def_funcid' }]
  39. },
  40. {
  41. title: '实例数据',
  42. collapsable: false,
  43. children: [{ title: '对象数据', path: '/rwd/instance_object' }, { title: '关系数据', path: '/rwd/instance_relation' }]
  44. },
  45. { title: 'IOT', path: '/rwd/iot' }
  46. ]
  47. }
  48. }
  49. }