antv-l7/gatsby-config.js

148 lines
2.7 KiB
JavaScript
Raw Normal View History

2019-11-06 11:57:42 +08:00
module.exports = {
plugins: [
{
resolve: '@antv/gatsby-theme-antv',
options: {
2019-11-14 18:22:08 +08:00
GATrackingId: 'UA-148148901-7',
2019-11-20 20:44:08 +08:00
pathPrefix: '/L7'
}
}
2019-11-06 11:57:42 +08:00
],
siteMetadata: {
title: 'L7',
description: 'Large-scale WebGL-powered Geospatial data visualization analysis framework',
2019-11-15 15:43:59 +08:00
githubUrl: 'https://github.com/antvis/L7',
2019-11-06 11:57:42 +08:00
navs: [
{
2019-11-19 19:03:17 +08:00
slug: 'docs/api',
2019-11-06 11:57:42 +08:00
title: {
zh: '文档',
2019-11-20 20:44:08 +08:00
en: 'Document'
2019-11-06 11:57:42 +08:00
},
2019-11-20 20:44:08 +08:00
redirect: 'api/l7'
2019-11-06 11:57:42 +08:00
},
{
slug: 'examples',
title: {
zh: '图表演示',
2019-11-20 20:44:08 +08:00
en: 'Examples'
2019-11-06 11:57:42 +08:00
},
2019-11-20 20:44:08 +08:00
redirect: 'gallery/basic'
}
// target: '_blank',
2019-11-06 11:57:42 +08:00
],
docs: [
{
2019-11-20 20:44:08 +08:00
slug: 'api/l7',
2019-11-06 11:57:42 +08:00
title: {
2019-11-20 20:44:08 +08:00
zh: '简介 L7',
en: 'Introduction'
2019-11-06 11:57:42 +08:00
},
2019-11-20 20:44:08 +08:00
order: 0
2019-11-06 11:57:42 +08:00
},
{
2019-11-20 20:44:08 +08:00
slug: 'api/quickstart',
2019-11-06 11:57:42 +08:00
title: {
2019-11-20 20:44:08 +08:00
zh: '快速入门',
en: 'quickstart'
2019-11-06 11:57:42 +08:00
},
2019-11-20 20:44:08 +08:00
order: 0
2019-11-06 11:57:42 +08:00
},
{
2019-11-20 14:14:30 +08:00
slug: 'api/scene',
2019-11-06 11:57:42 +08:00
title: {
2019-11-20 17:26:24 +08:00
zh: '场景 Scene',
2019-11-20 20:44:08 +08:00
en: 'Scene'
2019-11-06 11:57:42 +08:00
},
2019-11-20 20:44:08 +08:00
order: 1
2019-11-06 11:57:42 +08:00
},
2019-11-20 14:14:30 +08:00
{
slug: 'api/layer',
title: {
2019-11-20 17:26:24 +08:00
zh: '图层 Layer',
en: 'Layer'
2019-11-20 14:14:30 +08:00
},
2019-11-20 20:44:08 +08:00
order: 2
2019-11-20 14:14:30 +08:00
},
{
slug: 'api/source',
title: {
2019-11-20 17:26:24 +08:00
zh: '数据 Source',
2019-11-20 20:44:08 +08:00
en: 'Source'
2019-11-20 14:14:30 +08:00
},
2019-11-20 20:44:08 +08:00
order: 3
2019-11-20 14:14:30 +08:00
},
{
slug: 'api/component',
title: {
2019-11-20 17:26:24 +08:00
zh: '组件 Component',
2019-11-20 20:44:08 +08:00
en: 'Component'
2019-11-20 14:14:30 +08:00
},
2019-11-20 20:44:08 +08:00
order: 4
}
2019-11-06 11:57:42 +08:00
],
examples: [
{
slug: 'gallery',
icon: 'gallery',
title: {
zh: 'Gallery',
2019-11-20 20:44:08 +08:00
en: 'Gallery'
}
},
2019-11-06 11:57:42 +08:00
{
slug: 'point',
icon: 'point',
title: {
zh: '点图层',
2019-11-20 20:44:08 +08:00
en: 'Point Layer'
}
},
{
slug: 'line',
icon: 'line',
title: {
zh: '线图层',
2019-11-20 20:44:08 +08:00
en: 'Line Layer'
}
},
{
slug: 'polygon',
icon: 'polygon',
title: {
zh: '面图层',
2019-11-20 20:44:08 +08:00
en: 'Polygon Layer'
}
},
{
slug: 'heatmap',
icon: 'heatmap',
title: {
zh: '热力图',
2019-11-20 20:44:08 +08:00
en: 'HeatMap Layer'
},
2019-11-20 20:44:08 +08:00
order: 5
},
{
slug: 'raster',
icon: 'raster',
title: {
zh: '栅格图层',
2019-11-20 20:44:08 +08:00
en: 'Raster Layer'
}
},
{
2019-11-14 20:11:59 +08:00
slug: 'tutorial',
icon: 'map',
title: {
2019-11-14 20:11:59 +08:00
zh: '教程示例',
2019-11-20 20:44:08 +08:00
en: 'Tutorial demo'
}
}
2019-11-06 11:57:42 +08:00
],
playground: {
2019-11-20 20:44:08 +08:00
container: '<div style="min-height: 500px; justify-content: center;position: relative" id="map"/>'
}
}
2019-11-06 11:57:42 +08:00
};