Skip to content

Commit

Permalink
fix: doc search for site (#4270)
Browse files Browse the repository at this point in the history
  • Loading branch information
Yanyan-Wang authored Feb 13, 2023
1 parent afc445a commit 38188aa
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
8 changes: 5 additions & 3 deletions packages/site/.dumirc.ts
Original file line number Diff line number Diff line change
Expand Up @@ -56,9 +56,11 @@ export default defineConfig({
[version]: 'https://g6.antv.antgroup.com',
'3.2.x': 'https://g6-v3-2.antv.vision',
},
docsearchOptions: { // 头部搜索框配置
apiKey: '9d1cd586972bb492b7b41b13a949ef30',
indexName: 'antv_g6',
docsearchOptions: {
versionV3: true,
appId: 'B46SY3F3DL', // 头部搜索框配置
apiKey: '16ee95cbade255d2121507328f3b3c6d',
indexName: 'g6-antv-antgroup',
},
navs: [
{
Expand Down
2 changes: 1 addition & 1 deletion packages/site/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
"@antv/util": "^2.0.9",
"@antv/vis-predict-engine": "^0.1.1",
"@microsoft/api-extractor": "^7.33.6",
"dumi": "^2.1.18",
"dumi": "^2.1.9",
"insert-css": "^2.0.0",
"typedoc": "^0.17.6",
"typedoc-plugin-markdown": "^2.2.11",
Expand Down

0 comments on commit 38188aa

Please sign in to comment.