config.js 2.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374
  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. '/dic': [
  25. {
  26. title: '知识库接口文档',
  27. collapsable: false,
  28. children: [{ title: '接口文档', path: '/dic/dic_api' }]
  29. },
  30. {
  31. title: '知识库数据结构说明',
  32. collapsable: false,
  33. children: [{ title: '数据结构说明', path: '/dic/data_structure_description' }]
  34. }
  35. ],
  36. '/rwd': [
  37. {
  38. title: '接口文档',
  39. collapsable: false,
  40. children: [{ title: '接口文档', path: '/rwd/api',collapsable: true }]
  41. },
  42. {
  43. title: '数据结构说明',
  44. collapsable: false,
  45. children: [{ title: '数据结构说明', path: '/rwd/data_structure' }]
  46. }
  47. ],
  48. '/version': [
  49. {
  50. title: '版本管理接口文档',
  51. collapsable: false,
  52. children: [{ title: '接口文档', path: '/version/version_api' }]
  53. },
  54. {
  55. title: '版本管理数据结构说明',
  56. collapsable: false,
  57. children: [{ title: '数据结构说明', path: '/version/data_structure_description' }]
  58. }
  59. ],
  60. '/file': [
  61. {
  62. title: '文件服务接口文档',
  63. collapsable: false,
  64. children: [{ title: '接口文档', path: '/file/file_api' }]
  65. },
  66. {
  67. title: '文件服务数据结构说明',
  68. collapsable: false,
  69. children: [{ title: '数据结构说明', path: '/file/data_structure_description' }]
  70. }
  71. ],
  72. }
  73. }
  74. }