config.js 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384
  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: '知识库', link: '/dic/' },
  11. { text: '版本管理', link: '/version/' },
  12. { text: '文件服务', link: '/file/' }
  13. ],
  14. sidebarDepth: 2,
  15. displayAllHeaders: true,
  16. sidebar: {
  17. '/utils': [
  18. {
  19. title: '通用说明文档',
  20. collapsable: false,
  21. children: [{ title: '通用说明文档', path: '/utils/common' }]
  22. },
  23. {
  24. title: '空间信息点说明文档',
  25. collapsable: false,
  26. children: [{ title: '空间信息点说明文档', path: '/utils/spaceInfoCodeView' }]
  27. },
  28. {
  29. title: '设备信息点说明文档',
  30. collapsable: false,
  31. children: [{ title: '设备信息点说明文档', path: '/utils/equipmentInfoCodeView' }]
  32. }
  33. ],
  34. '/dic': [
  35. {
  36. title: '知识库接口文档',
  37. collapsable: false,
  38. children: [{ title: '接口文档', path: '/dic/dic_api' }]
  39. },
  40. {
  41. title: '知识库数据结构说明',
  42. collapsable: false,
  43. children: [{ title: '数据结构说明', path: '/dic/data_structure_description' }]
  44. }
  45. ],
  46. '/rwd': [
  47. {
  48. title: '物理世界接口文档',
  49. collapsable: false,
  50. children: [{ title: '接口文档', path: '/rwd/rwd_api' }]
  51. },
  52. {
  53. title: '物理世界数据结构说明',
  54. collapsable: false,
  55. children: [{ title: '数据结构说明', path: '/rwd/data_structure_description' }]
  56. }
  57. ],
  58. '/version': [
  59. {
  60. title: '版本管理接口文档',
  61. collapsable: false,
  62. children: [{ title: '接口文档', path: '/version/version_api' }]
  63. },
  64. {
  65. title: '版本管理数据结构说明',
  66. collapsable: false,
  67. children: [{ title: '数据结构说明', path: '/version/data_structure_description' }]
  68. }
  69. ],
  70. '/file': [
  71. {
  72. title: '文件服务接口文档',
  73. collapsable: false,
  74. children: [{ title: '接口文档', path: '/file/file_api' }]
  75. },
  76. {
  77. title: '文件服务数据结构说明',
  78. collapsable: false,
  79. children: [{ title: '数据结构说明', path: '/file/data_structure_description' }]
  80. }
  81. ],
  82. }
  83. }
  84. }