加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
gatsby-config.js 1.95 KB
一键复制 编辑 原始数据 按行查看 历史
前端工程师 提交于 2020-11-21 19:17 . Update gatsby-config.js
const { repository } = require('./package.json');
module.exports = {
plugins: [
{
resolve: '@antv/gatsby-theme-antv',
options: {
// eslint-disable-next-line quotes
GATrackingId: `UA-148148901-13`
}
}
],
siteMetadata: {
title: 'F2Native',
description: 'The Grammar of Graphics in c++',
siteUrl: 'https://f2native.antv.vision',
githubUrl: repository.url,
navs: [
{
slug: 'docs/tutorial',
title: {
zh: '使用文档',
en: 'Manual'
}
},
{
slug: 'docs/api',
title: {
zh: 'API 文档',
en: 'API'
}
},
{
slug: 'docs/examples/',
title: {
zh: '图表示例',
en: 'Examples'
}
}
],
docs: [
{
slug: 'tutorial/manual',
title: {
zh: '教程',
en: 'Tutorial'
},
order: 1
},
{
slug: 'api/chart',
title: {
zh: 'F2Chart',
en: 'F2Chart'
},
order: 2
},
{
slug: 'examples/line',
icon: 'line',
title: {
zh: '折线图',
en: 'Line Charts'
},
order: 0
},
{
slug: 'examples/area',
icon: 'area',
title: {
zh: '面积图',
en: 'Area Charts'
},
order: 2
},
{
slug: 'examples/column',
icon: 'column',
title: {
zh: '柱状图',
en: 'Column Charts'
},
order: 3
}
],
showSearch: false,
playground: {
container: '<div id="container" />',
playgroundDidMount: 'console.log("playgroundDidMount");',
playgroundWillUnmount: 'console.log("playgroundWillUnmount");'
},
docsearchOptions: {
apiKey: '349619374e9488b3f000714317d67381',
indexName: 'antv_f2native'
},
redirects: []
}
};
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化