antv-l7/gatsby-config.js

265 lines
4.9 KiB
JavaScript
Raw Normal View History

2019-11-21 13:44:32 +08:00
module.exports = {
plugins: [
{
resolve: '@antv/gatsby-theme-antv',
options: {
2019-11-22 13:23:41 +08:00
GATrackingId: 'UA-148148901-7'
2019-11-21 13:44:32 +08:00
}
}
],
siteMetadata: {
title: 'L7',
2020-01-15 11:31:49 +08:00
description: 'Large-scale WebGL-powered Geospatial data visualization analysis framework',
2019-11-21 12:36:59 +08:00
siteUrl: 'https://l7.antv.vision',
2019-11-21 13:44:32 +08:00
githubUrl: 'https://github.com/antvis/L7',
navs: [
{
slug: 'docs/api',
title: {
zh: '文档',
en: 'Document'
},
redirect: 'api/l7'
},
2019-11-22 12:08:33 +08:00
{
slug: 'docs/tutorial',
title: {
zh: '教程',
en: 'Tutorial'
2019-11-22 12:08:33 +08:00
}
},
2019-11-21 13:44:32 +08:00
{
slug: 'examples',
title: {
zh: '图表演示',
en: 'Examples'
2019-12-27 15:33:00 +08:00
}
2019-11-21 13:44:32 +08:00
}
],
docs: [
{
slug: 'api/l7',
title: {
zh: '简介 L7',
en: 'Introduction'
},
order: 0
},
2019-11-26 11:59:39 +08:00
{
slug: 'api/l7stable',
title: {
zh: '1.x 稳定版',
en: '1.x Stable'
},
order: 1
},
2019-11-21 13:44:32 +08:00
{
2019-11-25 11:47:02 +08:00
slug: 'tutorial',
2019-11-21 13:44:32 +08:00
title: {
zh: '快速入门',
2019-11-22 18:21:59 +08:00
en: 'QuickStart'
},
order: 0
},
{
2019-11-25 11:47:02 +08:00
slug: 'tutorial/map',
2019-11-22 18:21:59 +08:00
title: {
zh: '地图',
2019-11-25 11:47:02 +08:00
en: 'Map'
2019-11-21 13:44:32 +08:00
},
2019-11-25 11:47:02 +08:00
order: 3
2019-11-21 13:44:32 +08:00
},
{
slug: 'api/scene',
title: {
zh: '场景 Scene',
en: 'Scene'
},
2019-12-02 15:16:45 +08:00
order: 1
2019-11-21 13:44:32 +08:00
},
2020-04-18 10:51:09 +08:00
{
slug: 'api/draw',
title: {
zh: '绘制组件',
en: 'Draw Component'
},
order: 2
},
2020-03-08 14:48:52 +08:00
{
slug: 'api/react',
title: {
2020-03-08 17:31:56 +08:00
zh: 'React 组件',
2020-04-18 10:51:09 +08:00
en: 'React Component'
2020-03-08 14:48:52 +08:00
},
2020-03-12 16:06:26 +08:00
order: 2
2020-03-08 14:48:52 +08:00
},
2019-11-21 13:44:32 +08:00
{
slug: 'api/layer',
title: {
zh: '图层 Layer',
en: 'Layer'
},
2020-04-18 10:51:09 +08:00
order: 5
2019-11-21 13:44:32 +08:00
},
2019-12-14 22:15:28 +08:00
{
slug: 'api/layer/point_layer',
title: {
zh: '点图层',
en: 'PointLayer'
},
order: 1
},
{
slug: 'api/layer/line_layer',
title: {
zh: '线图层',
en: 'LineLayer'
},
order: 2
},
{
slug: 'api/layer/polygon_layer',
title: {
zh: '面图层',
en: 'PolygonLayer'
},
order: 3
},
{
slug: 'api/layer/heatmap_layer',
title: {
zh: '热力图',
en: 'HeatmapLayer'
},
order: 4
},
2020-01-07 21:15:23 +08:00
{
slug: 'api/layer/image_layer',
title: {
zh: '图片图层',
en: 'IMageLayer'
},
order: 5
},
{
slug: 'api/layer/raster_layer',
title: {
zh: '栅格图',
en: 'RasterLayer'
},
order: 6
},
2019-12-31 19:17:29 +08:00
{
slug: 'api/layer/cityBuilding',
title: {
zh: '城市建筑',
en: 'CityBuilding'
},
2020-01-07 21:15:23 +08:00
order: 8
2019-12-31 19:17:29 +08:00
},
2019-11-21 13:44:32 +08:00
{
slug: 'api/source',
title: {
zh: '数据 Source',
en: 'Source'
},
2020-03-12 16:06:26 +08:00
order: 5
2019-11-21 13:44:32 +08:00
},
{
slug: 'api/component',
title: {
zh: '组件 Component',
en: 'Component'
},
2020-03-12 16:06:26 +08:00
order: 6
2019-11-21 13:44:32 +08:00
}
],
examples: [
{
slug: 'gallery',
icon: 'gallery',
title: {
2019-12-27 15:33:00 +08:00
zh: '官方精品库',
en: 'Featured'
2019-11-21 13:44:32 +08:00
}
},
2020-03-11 21:35:11 +08:00
{
slug: 'react',
icon: 'map',
title: {
zh: 'React 组件',
en: 'React Demo'
}
},
{
slug: 'draw',
icon: 'map',
title: {
zh: '绘制 组件',
en: 'L7 Draw'
}
},
2019-11-21 13:44:32 +08:00
{
slug: 'point',
icon: 'point',
title: {
zh: '点图层',
en: 'Point Layer'
}
},
{
slug: 'line',
icon: 'line',
title: {
zh: '线图层',
en: 'Line Layer'
}
},
{
slug: 'polygon',
icon: 'polygon',
title: {
zh: '面图层',
en: 'Polygon Layer'
}
},
{
slug: 'heatmap',
icon: 'heatmap',
title: {
zh: '热力图',
en: 'HeatMap Layer'
},
order: 5
},
{
slug: 'raster',
icon: 'raster',
title: {
zh: '栅格图层',
en: 'Raster Layer'
}
},
{
slug: 'tutorial',
icon: 'map',
title: {
zh: '教程示例',
en: 'Tutorial demo'
}
}
],
playground: {
container: '<div style="min-height: 500px; justify-content: center;position: relative" id="map"/>',
dependencies: {
2020-01-19 20:22:30 +08:00
'@antv/l7': 'latest',
'@antv/l7-maps': 'latest'
}
},
docsearchOptions: {
apiKey: '97db146dbe490416af81ef3a8923bcaa',
indexName: 'antv_l7'
2019-11-21 13:44:32 +08:00
}
}
};