config.js 2.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576
  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: true,
  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. { title: '需求管理', path: '/version/demand_api' }]
  54. },
  55. {
  56. title: '编辑工具数据结构说明',
  57. collapsable: false,
  58. children: [{ title: '版本管理', path: '/version/data_structure_description' },
  59. { title: '需求管理', path: '/version/demand_structure' }]
  60. }
  61. ],
  62. '/file': [
  63. {
  64. title: '文件服务接口文档',
  65. collapsable: false,
  66. children: [{ title: '接口文档', path: '/file/file_api' }]
  67. },
  68. {
  69. title: '文件服务数据结构说明',
  70. collapsable: false,
  71. children: [{ title: '数据结构说明', path: '/file/data_structure_description' }]
  72. }
  73. ],
  74. }
  75. }
  76. }