config.js 2.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  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. ],
  12. sidebarDepth: 1,
  13. displayAllHeaders: true,
  14. sidebar: {
  15. '/utils/query': [
  16. {
  17. title: '通用查询接口',
  18. collapsable: false,
  19. children: [
  20. {title: '通用查询', path: '/utils/query'}
  21. ]
  22. }
  23. ],
  24. '/org': [
  25. {
  26. title: '人员组织权限',
  27. collapsable: false,
  28. children: [
  29. {title: '接口文档', path: '/org/org_api'},
  30. {title: '数据结构设计', path: '/org/org_design'}
  31. ]
  32. }
  33. ],
  34. '/dic': [
  35. {
  36. title: '数据标准化',
  37. collapsable: false,
  38. children: [
  39. {title: '接口文档', path: '/dic/dic_api'},
  40. {title: '数据结构设计', path: '/dic/dic_design'}
  41. ]
  42. }
  43. ],
  44. '/rwd': [
  45. {
  46. title: '定义数据',
  47. collapsable: false,
  48. children: [{ title: '类型定义', path: '/rwd/def_class' }, { title: '信息点定义', path: '/rwd/def_funcid' }]
  49. },
  50. {
  51. title: '实例数据',
  52. collapsable: false,
  53. children: [{ title: '对象数据', path: '/rwd/instance_object' }, { title: '关系数据', path: '/rwd/instance_relation' }]
  54. },
  55. { title: 'IOT', path: '/rwd/iot' }
  56. ]
  57. }
  58. }
  59. }