config.js 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  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/common' },
  9. { text: '物理世界', link: '/rwd/' },
  10. { text: '知识库', link: '/dic/' }
  11. ],
  12. sidebarDepth: 2,
  13. displayAllHeaders: true,
  14. sidebar: {
  15. '/utils/common': [
  16. {
  17. title: '通用说明文档',
  18. collapsable: false,
  19. children: [{ title: '通用说明文档', path: '/utils/common' }]
  20. }
  21. ],
  22. '/dic': [
  23. {
  24. title: '知识库接口文档',
  25. collapsable: false,
  26. children: [{ title: '接口文档', path: '/dic/dic_api' }]
  27. },
  28. {
  29. title: '知识库数据结构说明',
  30. collapsable: false,
  31. children: [{ title: '数据结构说明', path: '/dic/data_structure_description' }]
  32. }
  33. ],
  34. '/rwd': [
  35. {
  36. title: '物理世界接口文档',
  37. collapsable: false,
  38. children: [{ title: '接口文档', path: '/rwd/rwd_api' }]
  39. },
  40. {
  41. title: '物理世界数据结构说明',
  42. collapsable: false,
  43. children: [{ title: '数据结构说明', path: '/rwd/data_structure_description' }]
  44. }
  45. ],
  46. }
  47. }
  48. }