From c4d57e311fd130eb9436560fa814764667c1a3dd Mon Sep 17 00:00:00 2001 From: afc163 Date: Thu, 12 Dec 2019 12:13:47 +0800 Subject: [PATCH] =?UTF-8?q?docs:=20=F0=9F=94=8D=20Add=20algolia=20docsearc?= =?UTF-8?q?hOptions?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- gatsby-config.js | 4 ++++ package.json | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/gatsby-config.js b/gatsby-config.js index 9cebb68641..f976cb8748 100644 --- a/gatsby-config.js +++ b/gatsby-config.js @@ -169,6 +169,10 @@ module.exports = { '@antv/l7': 'beta', '@antv/l7-maps': 'latest' } + }, + docsearchOptions: { + apiKey: '97db146dbe490416af81ef3a8923bcaa', + indexName: 'antv_l7' } } }; diff --git a/package.json b/package.json index e1489e1a69..d33c0c0cce 100644 --- a/package.json +++ b/package.json @@ -6,7 +6,7 @@ }, "devDependencies": { "@antv/g2": "^3.5.9", - "@antv/gatsby-theme-antv": "^0.10.4", + "@antv/gatsby-theme-antv": "^0.10.17", "@babel/cli": "^7.6.4", "@babel/core": "^7.6.4", "@babel/plugin-proposal-decorators": "^7.6.0",