config.js 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  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. '/org': [
  16. {
  17. title: '人员组织权限',
  18. collapsable: false,
  19. children: [
  20. {title: '接口文档', path: '/org/org_api'},
  21. {title: '数据结构设计', path: '/org/org_design'}
  22. ]
  23. }
  24. ],
  25. '/dic': [
  26. {
  27. title: '数据标准化',
  28. collapsable: false,
  29. children: [
  30. {title: '接口文档', path: '/dic/dic_api'},
  31. {title: '数据结构设计', path: '/dic/dic_design'}
  32. ]
  33. }
  34. ],
  35. '/rwd': [
  36. {
  37. title: '定义数据',
  38. collapsable: false,
  39. children: [{ title: '类型定义', path: '/rwd/def_class' }, { title: '信息点定义', path: '/rwd/def_funcid' }]
  40. },
  41. {
  42. title: '实例数据',
  43. collapsable: false,
  44. children: [{ title: '对象数据', path: '/rwd/instance_object' }, { title: '关系数据', path: '/rwd/instance_relation' }]
  45. },
  46. { title: 'IOT', path: '/rwd/iot' }
  47. ]
  48. }
  49. }
  50. }