config.js 3.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889
  1. module.exports = {
  2. title: 'BDTP-数据服务',
  3. description: 'Just playing around',
  4. plugins: ['@vuepress/back-to-top'],
  5. themeConfig: {
  6. nav: [
  7. { text: '主页', link: '/' },
  8. { text: '通用说明文档', link: '/utils/' },
  9. { text: '物理世界-对象', link: '/rwd/' },
  10. { text: 'iot服务', link: '/iot/' },
  11. { text: '知识库', link: '/dic/' },
  12. { text: '版本管理', link: '/version/' },
  13. { text: '文件服务', link: '/file/' }
  14. ],
  15. sidebarDepth: 2,
  16. displayAllHeaders: true,
  17. sidebar: {
  18. '/utils': [
  19. {
  20. title: '通用说明文档',
  21. collapsable: false,
  22. children: [{ title: '通用说明文档', path: '/utils/common' }]
  23. }
  24. ],
  25. '/dic': [
  26. {
  27. title: '知识库接口文档',
  28. collapsable: false,
  29. children: [{ title: '接口文档', path: '/dic/dic_api' }]
  30. },
  31. {
  32. title: '知识库数据结构说明',
  33. collapsable: false,
  34. children: [{ title: '数据结构说明', path: '/dic/data_structure_description' }]
  35. }
  36. ],
  37. '/rwd': [
  38. {
  39. title: '接口文档',
  40. collapsable: true,
  41. children: [{ title: '接口文档', path: '/rwd/api', collapsable: true }]
  42. },
  43. {
  44. title: '数据结构说明',
  45. collapsable: false,
  46. children: [{ title: '数据结构说明', path: '/rwd/data_structure' }]
  47. }
  48. ],
  49. '/iot': [
  50. {
  51. title: '接口文档',
  52. collapsable: true,
  53. children: [{ title: '接口文档', path: '/iot/iot', collapsable: true }]
  54. },
  55. {
  56. title: '说明文档',
  57. collapsable: true,
  58. children: [{ title: '数据结构说明', path: '/iot/description', collapsable: true }]
  59. }
  60. ],
  61. '/version': [
  62. {
  63. title: '编辑工具接口文档',
  64. collapsable: false,
  65. children: [{ title: '版本管理', path: '/version/version_api' },
  66. { title: '需求管理', path: '/version/demand_api' }]
  67. },
  68. {
  69. title: '编辑工具数据结构说明',
  70. collapsable: false,
  71. children: [{ title: '版本管理', path: '/version/data_structure_description' },
  72. { title: '需求管理', path: '/version/demand_structure' }]
  73. }
  74. ],
  75. '/file': [
  76. {
  77. title: '文件服务接口文档',
  78. collapsable: false,
  79. children: [{ title: '接口文档', path: '/file/file_api' }]
  80. },
  81. {
  82. title: '文件服务数据结构说明',
  83. collapsable: false,
  84. children: [{ title: '数据结构说明', path: '/file/data_structure_description' }]
  85. }
  86. ],
  87. }
  88. }
  89. }