config.js 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  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: '/rwd/' },
  8. { text: '人员组织权限', link: '/org/' },
  9. { text: '数据字典', link: '/dic/'}
  10. ],
  11. sidebarDepth: 1,
  12. displayAllHeaders: true,
  13. sidebar: {
  14. '/org': [
  15. {
  16. title: '人员组织权限',
  17. collapsable: false,
  18. children: [
  19. // {title: '建表语句', path: '/org/org_ddl_sql'},
  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_ddl_sql'},
  31. {title: '接口文档', path: '/dic/dic_api'},
  32. {title: '数据结构设计', path: '/dic/dic_design'}
  33. ]
  34. }
  35. ],
  36. '/rwd': [
  37. {
  38. title: '定义数据',
  39. collapsable: false,
  40. children: [{ title: '类型定义', path: '/rwd/def_class' }, { title: '信息点定义', path: '/rwd/def_funcid' }]
  41. },
  42. {
  43. title: '实例数据',
  44. collapsable: false,
  45. children: [{ title: '对象数据', path: '/rwd/instance_object' }, { title: '关系数据', path: '/rwd/instance_relation' }]
  46. },
  47. { title: 'IOT', path: '/rwd/iot' }
  48. ]
  49. }
  50. }
  51. }