You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

config.yml 3.6KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130
  1. base: '/dc-docs/'
  2. head: [['link', { rel: 'icon', href: 'favicon.png' }]]
  3. locales: {
  4. '/': {
  5. lang: 'en-US',
  6. title: 'DC-SDK Docs',
  7. description: 'Cesium-based WebGis development platform for 2D and 3D',
  8. },
  9. '/zh/': {
  10. lang: 'zh-CN',
  11. title: 'DC-SDK 开发文档',
  12. description: '基于 Cesium 构建二、三维一体 WebGis 开发平台',
  13. },
  14. }
  15. themeConfig: {
  16. locales: {
  17. '/': {
  18. selectText: 'Languages',
  19. label: 'English',
  20. nav: [
  21. { text: 'Introduction', link: '/introduction/' },
  22. {
  23. text: 'Modules',
  24. items: [
  25. { text: 'Base', link: '/base/' },
  26. { text: 'Map', link: '/tile/' },
  27. { text: 'Layers', link: '/layer/' },
  28. { text: 'Overlays', link: '/overlay/' },
  29. { text: 'Materials', link: '/material/' },
  30. { text: 'Effects', link: '/effect/' },
  31. { text: 'Tools', link: '/tools/' },
  32. ],
  33. },
  34. {
  35. text: 'Integration Vue',
  36. items: [
  37. { text: 'dc-ui', link: 'http://ui.dvgis.cn/dc-ui' },
  38. { text: 'dc-vue', link: 'https://github.com/dvgis/dc-vue' },
  39. {
  40. text: 'dc-vue-next',
  41. link: 'https://github.com/dvgis/dc-vue-next',
  42. },
  43. ],
  44. },
  45. {
  46. text: 'CesiumJS',
  47. items: [
  48. {
  49. text: 'Cesium',
  50. items: [
  51. {
  52. text: 'Github',
  53. link: 'https://github.com/CesiumGS/cesium',
  54. },
  55. {
  56. text: 'Cesiumjs API',
  57. link: 'https://cesium.com/docs/cesiumjs-ref-doc/',
  58. },
  59. {
  60. text: 'Fabric',
  61. link: 'https://github.com/CesiumGS/cesium/wiki/Fabric',
  62. },
  63. ],
  64. },
  65. ],
  66. },
  67. ],
  68. },
  69. '/zh/': {
  70. selectText: '选择语言',
  71. label: '简体中文',
  72. nav: [
  73. { text: '教程', link: '/zh/introduction/' },
  74. {
  75. text: '功能模块',
  76. items: [
  77. { text: '基础构成', link: '/zh/base/' },
  78. { text: '地图地形', link: '/zh/tile/' },
  79. { text: '业务图层', link: '/zh/layer/' },
  80. { text: '覆盖元素', link: '/zh/overlay/' },
  81. { text: '材质属性', link: '/zh/material/' },
  82. { text: '效果动画', link: '/zh/effect/' },
  83. { text: '实用工具', link: '/zh/tools/' },
  84. ],
  85. },
  86. {
  87. text: '集成Vue',
  88. items: [
  89. { text: 'dc-vue', link: 'https://github.com/dvgis/dc-vue' },
  90. {
  91. text: 'dc-vue-next',
  92. link: 'https://github.com/dvgis/dc-vue-next',
  93. },
  94. {
  95. text: 'vite-plugin-dc',
  96. link: 'https://github.com/dvgis/vite-plugin-dc',
  97. },
  98. {
  99. text: 'dc-vite',
  100. link: 'https://github.com/dvgis/dc-vite',
  101. },
  102. ],
  103. },
  104. {
  105. text: 'CesiumJS',
  106. items: [
  107. {
  108. text: 'Cesium',
  109. items: [
  110. {
  111. text: 'Github',
  112. link: 'https://github.com/CesiumGS/cesium',
  113. },
  114. {
  115. text: 'API文档',
  116. link: 'https://cesium.com/docs/cesiumjs-ref-doc/',
  117. },
  118. {
  119. text: '材质文档',
  120. link: 'https://github.com/CesiumGS/cesium/wiki/Fabric',
  121. },
  122. ],
  123. },
  124. ],
  125. },
  126. ],
  127. },
  128. },
  129. }