config.js 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475
  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-digital/' },
  10. { text: '物理世界-定义', link: '/rwd-define/' },
  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-digital': [
  38. {
  39. title: '接口文档',
  40. collapsable: false,
  41. children: [{ title: '接口文档', path: '/rwd-digital/api' }]
  42. },
  43. {
  44. title: '数据结构说明',
  45. collapsable: false,
  46. children: [{ title: '数据结构说明', path: '/rwd-digital/data_structure' }]
  47. }
  48. ],
  49. '/version': [
  50. {
  51. title: '版本管理接口文档',
  52. collapsable: false,
  53. children: [{ title: '接口文档', path: '/version/version_api' }]
  54. },
  55. {
  56. title: '版本管理数据结构说明',
  57. collapsable: false,
  58. children: [{ title: '数据结构说明', path: '/version/data_structure_description' }]
  59. }
  60. ],
  61. '/file': [
  62. {
  63. title: '文件服务接口文档',
  64. collapsable: false,
  65. children: [{ title: '接口文档', path: '/file/file_api' }]
  66. },
  67. {
  68. title: '文件服务数据结构说明',
  69. collapsable: false,
  70. children: [{ title: '数据结构说明', path: '/file/data_structure_description' }]
  71. }
  72. ],
  73. }
  74. }
  75. }