From d05bf63fd686fd2da9b836a392b9b990bd137b3e Mon Sep 17 00:00:00 2001 From: shihui Date: Tue, 15 Nov 2022 11:32:43 +0800 Subject: [PATCH] docs: update website content --- packages/site/.dumirc.ts | 25 ------------------- .../docs/tutorial/demo/control/index.en.md | 7 ------ .../docs/tutorial/demo/control/index.zh.md | 7 ------ .../site/docs/tutorial/demo/layer/index.en.md | 7 ------ .../site/docs/tutorial/demo/layer/index.zh.md | 7 ------ .../site/docs/tutorial/demo/map/index.en.md | 8 ------ .../site/docs/tutorial/demo/map/index.zh.md | 7 ------ .../docs/tutorial/demo/marker/index.en.md | 8 ------ .../docs/tutorial/demo/marker/index.zh.md | 8 ------ .../site/examples/tutorial/map/index.zh.md | 4 ++- 10 files changed, 3 insertions(+), 85 deletions(-) delete mode 100644 packages/site/docs/tutorial/demo/control/index.en.md delete mode 100644 packages/site/docs/tutorial/demo/control/index.zh.md delete mode 100644 packages/site/docs/tutorial/demo/layer/index.en.md delete mode 100644 packages/site/docs/tutorial/demo/layer/index.zh.md delete mode 100644 packages/site/docs/tutorial/demo/map/index.en.md delete mode 100644 packages/site/docs/tutorial/demo/map/index.zh.md delete mode 100644 packages/site/docs/tutorial/demo/marker/index.en.md delete mode 100644 packages/site/docs/tutorial/demo/marker/index.zh.md diff --git a/packages/site/.dumirc.ts b/packages/site/.dumirc.ts index 77d0479899..1cebc158d6 100644 --- a/packages/site/.dumirc.ts +++ b/packages/site/.dumirc.ts @@ -190,25 +190,6 @@ export default defineConfig({ ], docs: [ // ****** tutorial - // quickStart 0 - { - slug: 'tutorial/l7', - title: { - zh: '简介', - en: 'introduce', - }, - order: 1, - }, - { - slug: 'tutorial/quickstart', - title: { - zh: '快速上手', - en: 'quickStart', - }, - order: 2, - }, - // demo 1 - // data 2 { slug: 'tutorial/map', title: { @@ -227,7 +208,6 @@ export default defineConfig({ }, { slug: 'tutorial/demo', - icon: 'map', title: { zh: '教程示例', en: 'Tutorial demo', @@ -236,7 +216,6 @@ export default defineConfig({ }, { slug: 'tutorial/point', - icon: 'map', title: { zh: '点图层 PointLayer', en: 'PointLayer', @@ -245,7 +224,6 @@ export default defineConfig({ }, { slug: 'tutorial/line', - icon: 'map', title: { zh: '线图层 LineLayer', en: 'LineLayer', @@ -254,7 +232,6 @@ export default defineConfig({ }, { slug: 'tutorial/polygon', - icon: 'map', title: { zh: '面图层 PolygonLayer', en: 'PolygonLayer', @@ -263,7 +240,6 @@ export default defineConfig({ }, { slug: 'tutorial/heatmap', - icon: 'map', title: { zh: '热力图层 HeatmapLayer', en: 'HeatmapLayer', @@ -272,7 +248,6 @@ export default defineConfig({ }, { slug: 'tutorial/tile', - icon: 'map', title: { zh: '瓦片图层 TileLayer', en: 'TileLayer', diff --git a/packages/site/docs/tutorial/demo/control/index.en.md b/packages/site/docs/tutorial/demo/control/index.en.md deleted file mode 100644 index d5ffb84bc7..0000000000 --- a/packages/site/docs/tutorial/demo/control/index.en.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -title: Control -order: 12 ---- -How to use the map control - - \ No newline at end of file diff --git a/packages/site/docs/tutorial/demo/control/index.zh.md b/packages/site/docs/tutorial/demo/control/index.zh.md deleted file mode 100644 index 885e620b26..0000000000 --- a/packages/site/docs/tutorial/demo/control/index.zh.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -title: 组件 -order: 12 ---- -如何使用组件 - - \ No newline at end of file diff --git a/packages/site/docs/tutorial/demo/layer/index.en.md b/packages/site/docs/tutorial/demo/layer/index.en.md deleted file mode 100644 index 5ac8d54b04..0000000000 --- a/packages/site/docs/tutorial/demo/layer/index.en.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -title: Layer -order: 12 ---- -Layer init and interaction - - \ No newline at end of file diff --git a/packages/site/docs/tutorial/demo/layer/index.zh.md b/packages/site/docs/tutorial/demo/layer/index.zh.md deleted file mode 100644 index 664865caf4..0000000000 --- a/packages/site/docs/tutorial/demo/layer/index.zh.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -title: 图层 -order: 12 ---- -图层初始化与交互 - - \ No newline at end of file diff --git a/packages/site/docs/tutorial/demo/map/index.en.md b/packages/site/docs/tutorial/demo/map/index.en.md deleted file mode 100644 index 74f90416ee..0000000000 --- a/packages/site/docs/tutorial/demo/map/index.en.md +++ /dev/null @@ -1,8 +0,0 @@ ---- -title: Map -order: 12 ---- - -how to use L7 Initialize third-party maps - - diff --git a/packages/site/docs/tutorial/demo/map/index.zh.md b/packages/site/docs/tutorial/demo/map/index.zh.md deleted file mode 100644 index 36789c31ec..0000000000 --- a/packages/site/docs/tutorial/demo/map/index.zh.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -title: 地图 -order: 12 ---- -介绍如何初始化一个第三方底图 - - diff --git a/packages/site/docs/tutorial/demo/marker/index.en.md b/packages/site/docs/tutorial/demo/marker/index.en.md deleted file mode 100644 index da423019fc..0000000000 --- a/packages/site/docs/tutorial/demo/marker/index.en.md +++ /dev/null @@ -1,8 +0,0 @@ ---- -title: Marker -order: 12 ---- - -add Rich text annotation to scene - - \ No newline at end of file diff --git a/packages/site/docs/tutorial/demo/marker/index.zh.md b/packages/site/docs/tutorial/demo/marker/index.zh.md deleted file mode 100644 index c75cbe2d50..0000000000 --- a/packages/site/docs/tutorial/demo/marker/index.zh.md +++ /dev/null @@ -1,8 +0,0 @@ ---- -title: Marker -order: 12 ---- - -通过添加dom实现富文本地图标注 - - \ No newline at end of file diff --git a/packages/site/examples/tutorial/map/index.zh.md b/packages/site/examples/tutorial/map/index.zh.md index 640cb22e79..32bcd76c21 100644 --- a/packages/site/examples/tutorial/map/index.zh.md +++ b/packages/site/examples/tutorial/map/index.zh.md @@ -2,6 +2,8 @@ title: 地图 order: 0 --- -介绍如何初始化一个第三方底图 +介绍如何初始化一个第三方底图。 + +