Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: analytics and docs search #2135

Merged
merged 1 commit into from
Oct 8, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 13 additions & 2 deletions packages/site/.dumirc.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,11 @@ export default defineConfig({
'0.x': 'https://v0-charts.ant.design/',
},
docsearchOptions: {
apiKey: 'cd83d8f913aeb993cd93f45fdbe9b5ac',
// indexName: 'charts-ant-design',
appId: 'I1DYJKMAUK',
apiKey: '5d0fcf465bcfa6fe6ef14d1bb1b7fb0f',
indexName: 'ant-design-charts-antgroup',
// container: '### REPLACE ME WITH A CONTAINER (e.g. div) ###',
debug: false,
},
navs: [
{
Expand Down Expand Up @@ -447,4 +450,12 @@ export default defineConfig({
},
links: [],
scripts: [],
analytics: {
// google analytics 的 key (GA 4)
// ga_v2: 'G-abcdefg',
// 若你在使用 GA v1 旧版本,请使用 `ga` 来配置
ga_v2: 'G-59GRRXNS00',
// 百度统计的 key
// baidu: 'baidu_tongji_key',
},
});
Loading