Skip to content

Commit

Permalink
docs: add links assistant for internal users (#6788)
Browse files Browse the repository at this point in the history
  • Loading branch information
yvonneyx authored Feb 20, 2025
1 parent f6627e7 commit c99ed2a
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 22 deletions.
10 changes: 6 additions & 4 deletions packages/site/.dumirc.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ export default defineConfig({
defaultLanguage: 'zh', // 默认语言
isAntVSite: false, // 是否是 AntV 的大官网
siteUrl: homepage, // 官网地址
sitePackagePath: 'packages/site', // 站点包地址
githubUrl: repository.url, // GitHub 地址
footerTheme: 'light', // 白色 底部主题
showSearch: true, // 是否显示搜索框
Expand All @@ -35,6 +36,11 @@ export default defineConfig({
showChartResize: true, // 是否在 demo 页展示图表视图切换
showAPIDoc: false, // 是否在 demo 页展示API文档
feedback: true, // 是否显示反馈组件
links: true, // 是否显示links答疑小蜜
petercat: {
show: true,
token: '4bd33b46-9b3c-4df1-be17-9206ea7c7e34',
},
prefersColor: {
default: 'light',
switch: false,
Expand Down Expand Up @@ -483,10 +489,6 @@ export default defineConfig({
img: 'https://gw.alipayobjects.com/mdn/rms_2274c3/afts/img/A*TgV-RZDODJIAAAAAAAAAAABkARQnAQ',
},
],
petercat: {
show: true,
token: '4bd33b46-9b3c-4df1-be17-9206ea7c7e34',
},
},
mfsu: false,
alias: {
Expand Down
36 changes: 18 additions & 18 deletions packages/site/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,43 +38,43 @@
"preview": "dumi preview"
},
"dependencies": {
"@ant-design/icons": "^5.5.2",
"@ant-design/icons": "^5.6.1",
"@antv/algorithm": "^0.1.26",
"@antv/dumi-theme-antv": "^0.6.0",
"@antv/g": "^6.1.14",
"@antv/g-svg": "^2.0.27",
"@antv/g-webgl": "^2.0.36",
"@antv/g2": "^5.2.10",
"@antv/dumi-theme-antv": "^0.6.3",
"@antv/g": "^6.1.21",
"@antv/g-svg": "^2.0.34",
"@antv/g-webgl": "^2.0.43",
"@antv/g2": "^5.2.11",
"@antv/g6": "workspace:*",
"@antv/g6-extension-3d": "workspace:*",
"@antv/g6-extension-react": "workspace:*",
"@antv/layout": "1.2.14-beta.8",
"@antv/layout-gpu": "^1.1.7",
"@antv/layout-wasm": "^1.4.2",
"@antv/util": "^3.3.10",
"antd": "^5.22.5",
"dumi": "^2.4.16",
"antd": "^5.24.1",
"dumi": "^2.4.18",
"insert-css": "^2.0.0",
"lodash": "^4.17.21",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"stats.js": "^0.17.0",
"styled-components": "^6.1.13"
"styled-components": "^6.1.15"
},
"devDependencies": {
"@manypkg/get-packages": "^2.2.2",
"@microsoft/api-documenter": "^7.26.3",
"@microsoft/api-extractor": "^7.48.1",
"@microsoft/api-extractor-model": "^7.30.1",
"@microsoft/api-documenter": "^7.26.8",
"@microsoft/api-extractor": "^7.50.0",
"@microsoft/api-extractor-model": "^7.30.3",
"@microsoft/tsdoc": "^0.15.1",
"@rushstack/node-core-library": "^4.3.0",
"@types/fs-extra": "^11.0.4",
"@types/lodash": "^4.17.13",
"@types/react": "^18.3.17",
"@types/lodash": "^4.17.15",
"@types/react": "^18.3.18",
"@types/resolve": "^1.20.6",
"fs-extra": "^11.2.0",
"gh-pages": "^6.2.0",
"prettier": "^3.4.2",
"resolve": "^1.22.9"
"fs-extra": "^11.3.0",
"gh-pages": "^6.3.0",
"prettier": "^3.5.1",
"resolve": "^1.22.10"
}
}

0 comments on commit c99ed2a

Please sign in to comment.