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ů.

config.yml 3.7KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127
  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. { text: 'Analysis', link: '/analysis/' },
  33. { text: 'ThirdPart', link: '/third-part/' },
  34. ],
  35. },
  36. {
  37. text: 'Integration Vue',
  38. items: [
  39. { text: 'dc-ui', link: 'http://ui.dvgis.cn/dc-ui' },
  40. { text: 'dc-vue', link: 'https://github.com/dvgis/dc-vue' },
  41. {
  42. text: 'dc-vue-next',
  43. link: 'https://github.com/dvgis/dc-vue-next',
  44. },
  45. ],
  46. },
  47. {
  48. text: 'CesiumJS',
  49. items: [
  50. {
  51. text: 'Cesium',
  52. items: [
  53. {
  54. text: 'Github',
  55. link: 'https://github.com/CesiumGS/cesium',
  56. },
  57. {
  58. text: 'Cesiumjs API',
  59. link: 'https://cesium.com/docs/cesiumjs-ref-doc/',
  60. },
  61. {
  62. text: 'Fabric',
  63. link: 'https://github.com/CesiumGS/cesium/wiki/Fabric',
  64. },
  65. ],
  66. },
  67. ],
  68. },
  69. ],
  70. },
  71. '/zh/': {
  72. selectText: '选择语言',
  73. label: '简体中文',
  74. nav: [
  75. { text: '教程', link: '/zh/introduction/' },
  76. {
  77. text: '功能模块',
  78. items: [
  79. { text: '基础构成', link: '/zh/base/' },
  80. { text: '地图地形', link: '/zh/tile/' },
  81. { text: '业务图层', link: '/zh/layer/' },
  82. { text: '覆盖元素', link: '/zh/overlay/' },
  83. { text: '材质属性', link: '/zh/material/' },
  84. { text: '效果动画', link: '/zh/effect/' },
  85. { text: '实用工具', link: '/zh/tools/' },
  86. { text: '场景分析', link: '/zh/analysis/' },
  87. { text: '第三方集成', link: '/zh/third-part/' },
  88. ],
  89. },
  90. {
  91. text: '集成Vue',
  92. items: [
  93. { text: 'dc-ui', link: 'http://ui.dvgis.cn/dc-ui' },
  94. { text: 'dc-vue', link: 'https://github.com/dvgis/dc-vue' },
  95. {
  96. text: 'dc-vue-next',
  97. link: 'https://github.com/dvgis/dc-vue-next',
  98. },
  99. ],
  100. },
  101. {
  102. text: 'CesiumJS',
  103. items: [
  104. {
  105. text: 'Cesium',
  106. items: [
  107. {
  108. text: 'Github',
  109. link: 'https://github.com/CesiumGS/cesium',
  110. },
  111. {
  112. text: 'API文档',
  113. link: 'https://cesium.com/docs/cesiumjs-ref-doc/',
  114. },
  115. {
  116. text: '材质文档',
  117. link: 'https://github.com/CesiumGS/cesium/wiki/Fabric',
  118. },
  119. ],
  120. },
  121. ],
  122. },
  123. ],
  124. },
  125. },
  126. }