antv-l7/gatsby-config.js

155 lines
2.9 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-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: 'manual/tutorial',
title: {
zh: '教程',
2019-11-16 22:22:13 +08:00
en: 'Tutorial',
2019-11-06 11:57:42 +08:00
},
},
{
2019-11-20 14:14:30 +08:00
slug: 'api/l7',
2019-11-06 11:57:42 +08:00
title: {
2019-11-20 17:26:24 +08:00
zh: '简介 L7',
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
},
{
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 14:14:30 +08:00
en: 'Scene',
2019-11-06 11:57:42 +08:00
},
order:1,
},
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
},
order:2,
},
{
slug: 'api/source',
title: {
2019-11-20 17:26:24 +08:00
zh: '数据 Source',
en: 'Source',
2019-11-20 14:14:30 +08:00
},
order:3,
},
{
slug: 'api/component',
title: {
2019-11-20 17:26:24 +08:00
zh: '组件 Component',
2019-11-20 14:14:30 +08:00
en: 'Component',
},
order:4,
},
2019-11-06 11:57:42 +08:00
],
examples: [
{
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
},
},
{
slug: 'line',
icon: 'line',
title: {
zh: '线图层',
2019-11-16 22:22:13 +08:00
en: 'Line Layer',
},
},
{
slug: 'polygon',
icon: 'polygon',
title: {
zh: '面图层',
2019-11-16 22:22:13 +08:00
en: 'Polygon Layer',
},
},
{
slug: 'heatmap',
icon: 'heatmap',
title: {
zh: '热力图',
2019-11-16 22:22:13 +08:00
en: 'HeatMap Layer',
},
order:5,
},
{
slug: 'raster',
icon: 'raster',
title: {
zh: '栅格图层',
2019-11-16 22:22:13 +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-16 22:22:13 +08:00
en: 'Tutorial demo',
},
2019-11-14 20:11:59 +08:00
},
2019-11-06 11:57:42 +08:00
],
playground: {
container: '<div style="min-height: 500px; justify-content: center;position: relative" id="map"/>',
},
2019-11-06 11:57:42 +08:00
},
};