config.js 2.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283
  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: '/dpt/' },
  12. { text: '报警系统', link: '/alarm/'}
  13. ],
  14. sidebarDepth: 1,
  15. displayAllHeaders: true,
  16. sidebar: {
  17. '/utils/query': [
  18. {
  19. title: '通用查询接口',
  20. collapsable: false,
  21. children: [
  22. {title: '通用查询', path: '/utils/query'}
  23. ]
  24. }
  25. ],
  26. '/alarm': [
  27. {
  28. title: '报警系统',
  29. collapsable: false,
  30. children: [
  31. {title: '接口文档', path: '/alarm/alarm_api'},
  32. {title: '数据结构设计', path: '/alarm/alarm_design'}
  33. ]
  34. }
  35. ],
  36. '/org': [
  37. {
  38. title: '人员组织权限',
  39. collapsable: false,
  40. children: [
  41. {title: '接口文档', path: '/org/org_api'},
  42. {title: '数据结构设计', path: '/org/org_design'}
  43. ]
  44. }
  45. ],
  46. '/dpt': [
  47. {
  48. title: '数据标准化',
  49. collapsable: false,
  50. children: [
  51. {title: '接口文档', path: '/dpt/dpt_api'},
  52. {title: '数据结构设计', path: '/dpt/dpt_design'}
  53. ]
  54. }
  55. ],
  56. '/dic': [
  57. {
  58. title: '数据标准化',
  59. collapsable: false,
  60. children: [
  61. {title: '接口文档', path: '/dic/dic_api'},
  62. {title: '数据结构设计', path: '/dic/dic_design'}
  63. ]
  64. }
  65. ],
  66. '/rwd': [
  67. {
  68. title: '定义数据',
  69. collapsable: false,
  70. children: [{ title: '类型定义', path: '/rwd/def_class' }, { title: '信息点定义', path: '/rwd/def_funcid' }]
  71. },
  72. {
  73. title: '实例数据',
  74. collapsable: false,
  75. children: [{ title: '对象数据', path: '/rwd/instance_object' }, { title: '关系数据', path: '/rwd/instance_relation' }]
  76. },
  77. { title: 'IOT', path: '/rwd/iot' }
  78. ]
  79. }
  80. }
  81. }