config.js 3.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394
  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. title: '通信报文格式',
  62. collapsable: true,
  63. children: [{ title: '通信报文格式', path: '/iot/message', collapsable: true }]
  64. }
  65. ],
  66. '/version': [
  67. {
  68. title: '编辑工具接口文档',
  69. collapsable: false,
  70. children: [{ title: '版本管理', path: '/version/version_api' },
  71. { title: '需求管理', path: '/version/demand_api' }]
  72. },
  73. {
  74. title: '编辑工具数据结构说明',
  75. collapsable: false,
  76. children: [{ title: '版本管理', path: '/version/data_structure_description' },
  77. { title: '需求管理', path: '/version/demand_structure' }]
  78. }
  79. ],
  80. '/file': [
  81. {
  82. title: '文件服务接口文档',
  83. collapsable: false,
  84. children: [{ title: '接口文档', path: '/file/file_api' }]
  85. },
  86. {
  87. title: '文件服务数据结构说明',
  88. collapsable: false,
  89. children: [{ title: '数据结构说明', path: '/file/data_structure_description' }]
  90. }
  91. ],
  92. }
  93. }
  94. }