Nelze vybrat více než 25 témat Téma musí začínat písmenem nebo číslem, může obsahovat pomlčky („-“) a může být dlouhé až 35 znaků.

zh.config.js 2.9KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596
  1. export default {
  2. label: '中文',
  3. lang: 'zh',
  4. link: '/zh/',
  5. title: 'DC-SDK 开发文档',
  6. themeConfig: {
  7. nav: [
  8. {
  9. text: '文档',
  10. items: [
  11. { text: '快速上手', link: '/zh/guide/get-start' },
  12. { text: '架构图', link: '/zh/guide/framework-chart' },
  13. { text: 'v2.x', link: 'https://resource.dvgis.cn/dc-api/v2.x/zh/' },
  14. { text: 'Cesium', link: 'https://github.com/CesiumGS/cesium/' },
  15. ],
  16. },
  17. { text: 'API', link: '/zh/api/global' },
  18. {
  19. text: '周边社区',
  20. items: [
  21. {
  22. text: 'Vue',
  23. items: [
  24. { text: 'dc-vue', link: 'https://github.com/dvgis/dc-vue' },
  25. {
  26. text: 'dc-vue-next',
  27. link: 'https://github.com/dvgis/dc-vue-next',
  28. },
  29. ],
  30. },
  31. {
  32. text: 'vite',
  33. items: [
  34. {
  35. text: 'vite-plugin-dc',
  36. link: 'https://github.com/dvgis/vite-plugin-dc',
  37. },
  38. { text: 'dc-vite', link: 'https://github.com/dvgis/dc-vite' },
  39. ],
  40. },
  41. ],
  42. },
  43. { text: '赞助', link: '/zh/donation/' },
  44. ],
  45. sidebar: {
  46. '/zh/guide/': [
  47. {
  48. text: '文档',
  49. items: [
  50. { text: '简介', link: '/zh/guide/introduction' },
  51. { text: '快速上手', link: '/zh/guide/get-start' },
  52. { text: '运行环境', link: '/zh/guide/run-env' },
  53. { text: '架构图', link: '/zh/guide/framework-chart' },
  54. { text: '从旧版本迁移', link: '/zh/guide/from-old-version' },
  55. { text: '技术扩展', link: '/zh/guide/tec-ext' },
  56. ],
  57. },
  58. ],
  59. '/zh/api/': [
  60. {
  61. items: [
  62. { text: '全局 API', link: '/zh/api/global' },
  63. { text: '基础 API', link: '/zh/api/base' },
  64. { text: '地图 API', link: '/zh/api/tile' },
  65. { text: '图层 API', link: '/zh/api/layer' },
  66. {
  67. text: '<b>要素 API</b>',
  68. items: [
  69. { text: '矢量要素', link: '/zh/api/overlay-vector' },
  70. { text: '图元要素', link: '/zh/api/overlay-primitive' },
  71. { text: '标绘要素', link: '/zh/api/overlay-plot' },
  72. ],
  73. },
  74. { text: '材质 API', link: '/zh/api/material' },
  75. { text: '工具 API', link: '/zh/api/tools' },
  76. {
  77. text: '效果 API',
  78. items: [
  79. { text: '场景效果', link: '/zh/api/effect-scene' },
  80. { text: '动画效果', link: '/zh/api/effect-animation' },
  81. ],
  82. },
  83. ],
  84. },
  85. ],
  86. },
  87. docFooter: {
  88. prev: '上一页',
  89. next: '下一页',
  90. },
  91. outlineTitle: '目录',
  92. search: {
  93. provider: 'local',
  94. },
  95. },
  96. }