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-16 22:22:13 +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-16 22:22:13 +08:00
|
|
|
en: 'Document',
|
2019-11-06 11:57:42 +08:00
|
|
|
},
|
2019-11-19 19:03:17 +08:00
|
|
|
redirect: 'api/l7',
|
2019-11-06 11:57:42 +08:00
|
|
|
},
|
|
|
|
{
|
|
|
|
slug: 'docs/tutorial',
|
|
|
|
title: {
|
|
|
|
zh: '教程',
|
2019-11-16 22:22:13 +08:00
|
|
|
en: 'Tutorial',
|
2019-11-06 11:57:42 +08:00
|
|
|
},
|
2019-11-16 22:22:13 +08:00
|
|
|
redirect: 'tutorial/quickstart',
|
2019-11-06 11:57:42 +08:00
|
|
|
},
|
|
|
|
{
|
|
|
|
slug: 'examples',
|
|
|
|
title: {
|
|
|
|
zh: '图表演示',
|
|
|
|
en: 'Examples',
|
|
|
|
},
|
2019-11-18 16:13:15 +08:00
|
|
|
redirect: 'gallery/basic',
|
2019-11-06 11:57:42 +08:00
|
|
|
},
|
|
|
|
// target: '_blank',
|
|
|
|
],
|
|
|
|
docs: [
|
|
|
|
{
|
|
|
|
slug: 'specification',
|
|
|
|
title: {
|
|
|
|
zh: '简介',
|
2019-11-16 22:22:13 +08:00
|
|
|
en: 'Introduction',
|
2019-11-06 11:57:42 +08:00
|
|
|
},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
slug: 'manual/tutorial',
|
|
|
|
title: {
|
|
|
|
zh: '教程',
|
2019-11-16 22:22:13 +08:00
|
|
|
en: 'Tutorial',
|
2019-11-06 11:57:42 +08:00
|
|
|
},
|
|
|
|
},
|
|
|
|
{
|
2019-11-16 22:22:13 +08:00
|
|
|
slug: 'API/L7',
|
2019-11-06 11:57:42 +08:00
|
|
|
title: {
|
|
|
|
zh: '简介',
|
2019-11-16 22:22:13 +08:00
|
|
|
en: 'Introduction',
|
2019-11-06 11:57:42 +08:00
|
|
|
},
|
2019-11-16 22:22:13 +08:00
|
|
|
order:0,
|
2019-11-06 11:57:42 +08:00
|
|
|
},
|
|
|
|
{
|
|
|
|
slug: 'API/component',
|
|
|
|
title: {
|
|
|
|
zh: '组件',
|
|
|
|
en: 'Component',
|
|
|
|
},
|
|
|
|
order:1,
|
|
|
|
},
|
|
|
|
],
|
|
|
|
examples: [
|
2019-11-07 00:52:03 +08:00
|
|
|
{
|
|
|
|
slug: 'gallery',
|
|
|
|
icon: 'gallery',
|
|
|
|
title: {
|
|
|
|
zh: 'Gallery',
|
|
|
|
en: 'Gallery',
|
|
|
|
},
|
|
|
|
},
|
2019-11-06 11:57:42 +08:00
|
|
|
{
|
|
|
|
slug: 'point',
|
|
|
|
icon: 'point',
|
|
|
|
title: {
|
|
|
|
zh: '点图层',
|
2019-11-16 22:22:13 +08:00
|
|
|
en: 'Point Layer',
|
2019-11-06 11:57:42 +08:00
|
|
|
},
|
2019-11-07 00:52:03 +08:00
|
|
|
},
|
|
|
|
{
|
|
|
|
slug: 'line',
|
|
|
|
icon: 'line',
|
|
|
|
title: {
|
|
|
|
zh: '线图层',
|
2019-11-16 22:22:13 +08:00
|
|
|
en: 'Line Layer',
|
2019-11-07 00:52:03 +08:00
|
|
|
},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
slug: 'polygon',
|
|
|
|
icon: 'polygon',
|
|
|
|
title: {
|
|
|
|
zh: '面图层',
|
2019-11-16 22:22:13 +08:00
|
|
|
en: 'Polygon Layer',
|
2019-11-07 00:52:03 +08:00
|
|
|
},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
slug: 'heatmap',
|
|
|
|
icon: 'heatmap',
|
|
|
|
title: {
|
|
|
|
zh: '热力图',
|
2019-11-16 22:22:13 +08:00
|
|
|
en: 'HeatMap Layer',
|
2019-11-07 00:52:03 +08:00
|
|
|
},
|
|
|
|
order:5,
|
|
|
|
},
|
|
|
|
{
|
|
|
|
slug: 'raster',
|
|
|
|
icon: 'raster',
|
|
|
|
title: {
|
|
|
|
zh: '栅格图层',
|
2019-11-16 22:22:13 +08:00
|
|
|
en: 'Raster Layer',
|
2019-11-07 00:52:03 +08:00
|
|
|
},
|
|
|
|
},
|
|
|
|
{
|
2019-11-14 20:11:59 +08:00
|
|
|
slug: 'tutorial',
|
|
|
|
icon: 'map',
|
2019-11-07 00:52:03 +08:00
|
|
|
title: {
|
2019-11-14 20:11:59 +08:00
|
|
|
zh: '教程示例',
|
2019-11-16 22:22:13 +08:00
|
|
|
en: 'Tutorial demo',
|
2019-11-07 00:52:03 +08:00
|
|
|
},
|
2019-11-14 20:11:59 +08:00
|
|
|
},
|
2019-11-06 11:57:42 +08:00
|
|
|
],
|
2019-11-07 00:52:03 +08:00
|
|
|
playground: {
|
|
|
|
container: '<div style="min-height: 500px; justify-content: center;position: relative" id="map"/>',
|
|
|
|
},
|
2019-11-06 11:57:42 +08:00
|
|
|
},
|
|
|
|
};
|