config.js 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293
  1. module.exports = {
  2. title: '数据中台',
  3. description: 'Just playing around',
  4. plugins: ['@vuepress/back-to-top'],
  5. themeConfig: {
  6. nav: [
  7. { text: '主页', link: '/' },
  8. { text: '通用查询接口', link: '/utils/query' },
  9. { text: '物理世界', link: '/rwd/' },
  10. { text: '人员组织权限', link: '/org/' },
  11. { text: '数据标准化', link: '/dic/' },
  12. { text: '任务调度', link: '/task/' },
  13. { text: '报警系统', link: '/alarm/' },
  14. { text: '报表统计系统', link: '/report/' },
  15. { text: '数据仓库', link: '/dw/' }
  16. ],
  17. sidebarDepth: 2,
  18. displayAllHeaders: true,
  19. sidebar: {
  20. '/utils/query': [
  21. {
  22. title: '通用查询接口',
  23. collapsable: false,
  24. children: [{ title: '通用查询', path: '/utils/query' }]
  25. }
  26. ],
  27. '/dw': [
  28. {
  29. title: '数据仓库',
  30. collapsable: false,
  31. children: [{ title: '配置计划', path: '/dw/dw_config' }, { title: '搭建部署', path: '/dw/dw_deploy' }]
  32. }
  33. ],
  34. '/report': [
  35. {
  36. title: '报表统计系统',
  37. collapsable: false,
  38. children: [{ title: '接口文档', path: '/report/report_api' }, { title: '数据结构设计', path: '/report/report_design' }]
  39. }
  40. ],
  41. '/alarm': [
  42. {
  43. title: '报警系统',
  44. collapsable: false,
  45. children: [
  46. { title: '接口文档', path: '/alarm/alarm_api' },
  47. { title: '数据字典', path: '/alarm/alarm_dict' },
  48. { title: '数据结构设计', path: '/alarm/alarm_design' }
  49. ]
  50. }
  51. ],
  52. '/org': [
  53. {
  54. title: '人员组织权限',
  55. collapsable: false,
  56. children: [{ title: '接口文档', path: '/org/org_api' }, { title: '数据结构设计', path: '/org/org_design' }]
  57. }
  58. ],
  59. '/task': [
  60. {
  61. title: '数据标准化',
  62. collapsable: false,
  63. children: [{ title: '接口文档', path: '/task/task_api' }, { title: '数据结构设计', path: '/task/task_design' }]
  64. }
  65. ],
  66. '/dic': [
  67. {
  68. title: '数据标准化',
  69. collapsable: false,
  70. children: [{ title: '接口文档', path: '/dic/dic_api' }, { title: '数据结构设计', path: '/dic/dic_design' }]
  71. }
  72. ],
  73. '/rwd': [
  74. {
  75. title: '定义数据',
  76. collapsable: false,
  77. children: [{ title: '类型定义', path: '/rwd/def_class' }, { title: '信息点定义', path: '/rwd/def_funcid' }]
  78. },
  79. {
  80. title: '订阅功能',
  81. path: '/rwd/schema'
  82. },
  83. {
  84. title: '实例数据',
  85. collapsable: false,
  86. children: [{ title: '对象数据', path: '/rwd/instance_object' }, { title: '关系数据', path: '/rwd/instance_relation' }]
  87. },
  88. { title: 'IOT', path: '/rwd/iot' }
  89. ]
  90. }
  91. }
  92. }