Skip to content

Commit f0ada6c

Browse files
tangying1027xuying.xu
and
xuying.xu
authored
feat: 官网增加link入口 (#2039)
Co-authored-by: xuying.xu <xuying.xu@alibaba-inc.com>
1 parent 48b5372 commit f0ada6c

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

site/.dumirc.ts

+7
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,13 @@ export default defineConfig({
1111
description: 'The Grammar of Graphics in JavaScript',
1212
siteUrl: 'https://f2.antv.vision',
1313
defaultLanguage: 'zh',
14+
feedback: true, // 开启文档用户反馈
15+
sitePackagePath: 'packages/site', // 文档项目相对于项目根目录的相对路径
16+
links: true, // 是否显示links答疑小蜜
17+
petercat: {
18+
show: true,
19+
token: 'd54d0b62-8070-46a5-a721-38132a34b8a1', // 此处填 Petercat token
20+
},
1421
isAntVSite: false,
1522
githubUrl: repository.url, // GitHub 地址
1623
footerTheme: 'light', // 白色 底部主题

site/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
"site:start": "npm run site:develop"
2121
},
2222
"dependencies": {
23-
"@antv/dumi-theme-antv": "~0.5.0",
23+
"@antv/dumi-theme-antv": "~0.6.0",
2424
"@antv/f-react": "~0.0.7",
2525
"@antv/f-test-utils": "1.0.3",
2626
"@antv/f2": "^5.0.4",

0 commit comments

Comments
 (0)