config.js 3.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495
  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: '/utils/query' },
  8. { text: '物理世界', link: '/rwd/' },
  9. { text: '人员组织权限', link: '/org/' },
  10. { text: '数据标准化', link: '/dic/'},
  11. { text: '任务调度', link: '/task/' },
  12. { text: '报警系统', link: '/alarm/'},
  13. { text: '报表统计系统', link: '/report/'}
  14. ],
  15. sidebarDepth: 2,
  16. displayAllHeaders: true,
  17. sidebar: {
  18. '/utils/query': [
  19. {
  20. title: '通用查询接口',
  21. collapsable: false,
  22. children: [
  23. {title: '通用查询', path: '/utils/query'}
  24. ]
  25. }
  26. ],
  27. '/report': [
  28. {
  29. title: '报表统计系统',
  30. collapsable: false,
  31. children: [
  32. {title: '接口文档', path: '/report/report_api'},
  33. {title: '数据结构设计', path: '/report/report_design'}
  34. ]
  35. }
  36. ],
  37. '/alarm': [
  38. {
  39. title: '报警系统',
  40. collapsable: false,
  41. children: [
  42. {title: '接口文档', path: '/alarm/alarm_api'},
  43. {title: '数据字典', path: '/alarm/alarm_dict'},
  44. {title: '数据结构设计', path: '/alarm/alarm_design'}
  45. ]
  46. }
  47. ],
  48. '/org': [
  49. {
  50. title: '人员组织权限',
  51. collapsable: false,
  52. children: [
  53. {title: '接口文档', path: '/org/org_api'},
  54. {title: '数据结构设计', path: '/org/org_design'}
  55. ]
  56. }
  57. ],
  58. '/task': [
  59. {
  60. title: '数据标准化',
  61. collapsable: false,
  62. children: [
  63. {title: '接口文档', path: '/task/task_api'},
  64. {title: '数据结构设计', path: '/task/task_design'}
  65. ]
  66. }
  67. ],
  68. '/dic': [
  69. {
  70. title: '数据标准化',
  71. collapsable: false,
  72. children: [
  73. {title: '接口文档', path: '/dic/dic_api'},
  74. {title: '数据结构设计', path: '/dic/dic_design'}
  75. ]
  76. }
  77. ],
  78. '/rwd': [
  79. {
  80. title: '定义数据',
  81. collapsable: false,
  82. children: [{ title: '类型定义', path: '/rwd/def_class' }, { title: '信息点定义', path: '/rwd/def_funcid' }]
  83. },
  84. {
  85. title: '实例数据',
  86. collapsable: false,
  87. children: [{ title: '对象数据', path: '/rwd/instance_object' }, { title: '关系数据', path: '/rwd/instance_relation' }]
  88. },
  89. { title: 'IOT', path: '/rwd/iot' }
  90. ]
  91. }
  92. }
  93. }