diff --git a/site/.dumirc.ts b/site/.dumirc.ts index a28f07cbc1..e52b13dbaf 100644 --- a/site/.dumirc.ts +++ b/site/.dumirc.ts @@ -25,7 +25,7 @@ export default defineConfig({ isAntVSite: false, // 是否是 AntV 的大官网 footerTheme: 'light', // 白色 底部主题 siteUrl: 'https://antv.antgroup.com/', // 官网首页地址 - sitePackagePath: '/site', // 官网子包所在路径 + sitePackagePath: 'site', // 官网子包所在路径 githubUrl: repository.url, // GitHub 地址 showSearch: true, // 是否显示搜索框 showGithubCorner: true, // 是否显示头部的 GitHub icon @@ -38,9 +38,10 @@ export default defineConfig({ showSpecTab: true, // 是否展示 Spec 页面 es5: false, // 案例代码是否编译到 es5 petercat: { - show: true, + show: true, // 开启petercat辅助答疑机器人 token: '26c62f06-1155-4b2c-8f4b-aa443d4af2c6', - }, // 开启petercat辅助答疑机器人 + }, + links: true, // 是否显示links研发小蜜 feedback: true, // 开启文档用户反馈 versions: { // 历史版本以及切换下拉菜单 diff --git a/site/package.json b/site/package.json index 93b67541a1..c3f12ded09 100644 --- a/site/package.json +++ b/site/package.json @@ -8,22 +8,22 @@ "preview": "dumi preview" }, "dependencies": { - "@ant-design/icons": "^4.8.1", + "@ant-design/icons": "^4.8.3", "@antv/data-set": "^0.11.8", - "@antv/dumi-theme-antv": "^0.6.2", - "@antv/g-lottie-player": "^1.0.0", - "@antv/g-pattern": "^2.0.0", - "@antv/g-plugin-3d": "^2.0.0", - "@antv/g-plugin-a11y": "^1.0.0", - "@antv/g-plugin-control": "^2.0.0", - "@antv/g-plugin-rough-canvas-renderer": "^2.0.0", - "@antv/g-svg": "^2.0.0", - "@antv/g-webgl": "^2.0.0", + "@antv/dumi-theme-antv": "^0.6.3", + "@antv/g-lottie-player": "^1.0.32", + "@antv/g-pattern": "^2.0.32", + "@antv/g-plugin-3d": "^2.0.41", + "@antv/g-plugin-a11y": "^1.1.21", + "@antv/g-plugin-control": "^2.0.32", + "@antv/g-plugin-rough-canvas-renderer": "^2.0.39", + "@antv/g-svg": "^2.0.34", + "@antv/g-webgl": "^2.0.43", "@antv/g2-extension-3d": "^0.2.0", "@antv/g2-extension-ava": "^0.2.0", - "@antv/g2-extension-plot": "^0.2.0", - "@antv/s2": "^1.52.0", - "antd": "^4.24.14", + "@antv/g2-extension-plot": "^0.2.1", + "@antv/s2": "^1.56.2", + "antd": "^4.24.16", "d3-array": "^3.2.4", "d3-geo-projection": "^4.0.0", "d3-hexjson": "^1.1.1", @@ -31,13 +31,13 @@ "d3-interpolate": "^3.0.1", "d3-random": "^3.0.1", "d3-regression": "^1.3.10", - "d3-scale-chromatic": "^3.0.0", + "d3-scale-chromatic": "^3.1.0", "d3-voronoi": "^1.1.4", "dirichlet": "^1.0.1", - "dumi": "^2.2.14", + "dumi": "^2.4.18", "fecha": "^4.2.3", - "lodash": "^4.17.21", "fmin": "0.0.2", + "lodash": "^4.17.21", "react-color": "^2.19.3", "topojson": "^3.0.2", "webfontloader": "1.6.28"