From c92ef74ea44ee806847dae9741534cfd64d12c14 Mon Sep 17 00:00:00 2001 From: afc163 Date: Thu, 17 Nov 2022 21:24:40 +0800 Subject: [PATCH] docs: add legacy version link of 4.x (#38638) --- .dumi/theme/themeConfig.ts | 16 ++++++++-------- .github/workflows/issue-open-check.yml | 16 ++++++++-------- docs/react/faq.zh-CN.md | 1 + 3 files changed, 17 insertions(+), 16 deletions(-) diff --git a/.dumi/theme/themeConfig.ts b/.dumi/theme/themeConfig.ts index c81989293a..50c69e6d00 100644 --- a/.dumi/theme/themeConfig.ts +++ b/.dumi/theme/themeConfig.ts @@ -43,13 +43,13 @@ export default { 'Template Document': 3, }, docVersions: { - '4.x': 'https://ant.design', - '3.x': 'http://3x.ant.design', - '2.x': 'http://2x.ant.design', - '1.x': 'http://1x.ant.design', - '0.12.x': 'http://012x.ant.design', - '0.11.x': 'http://011x.ant.design', - '0.10.x': 'http://010x.ant.design', - '0.9.x': 'http://09x.ant.design', + '4.x': 'https://4x.ant.design', + '3.x': 'https://3x.ant.design', + '2.x': 'https://2x.ant.design', + '1.x': 'https://1x.ant.design', + '0.12.x': 'https://012x.ant.design', + '0.11.x': 'https://011x.ant.design', + '0.10.x': 'https://010x.ant.design', + '0.9.x': 'https://09x.ant.design', }, }; diff --git a/.github/workflows/issue-open-check.yml b/.github/workflows/issue-open-check.yml index 8c9de23edd..ddc8d8916a 100644 --- a/.github/workflows/issue-open-check.yml +++ b/.github/workflows/issue-open-check.yml @@ -59,15 +59,15 @@ jobs: * Ant Motion: https://motion.ant.design ## 国内镜像 - * 官方镜像: https://ant-design.antgroup.com/ + * 官方镜像: https://ant-design.antgroup.com * Gitee 镜像: http://ant-design.gitee.io - * Ant Design 3.x: http://ant-design-3x.gitee.io - * Ant Design 2.x: http://ant-design-2x.gitee.io - * Ant Design 1.x: http://ant-design-1x.gitee.io - * Ant Design Pro: http://ant-design-pro.gitee.io - * Ant Design Mobile: http://antd-mobile.gitee.io - * Ant Motion: http://ant-motion.gitee.io - * Ant Design Pro Preview : https://prosite.z23.web.core.windows.net + * Ant Design 4.x: https://4x-ant-design.antgroup.com + * Ant Design 3.x: https://ant-design-3x.gitee.io + * Ant Design 2.x: https://ant-design-2x.gitee.io + * Ant Design 1.x: https://ant-design-1x.gitee.io + * Ant Design Pro: https://ant-design-pro.gitee.io + * Ant Design Mobile: https://antd-mobile.gitee.io + * Ant Motion: https://ant-motion.gitee.io - name: check ie if: contains(github.event.issue.body, 'ant-design-issue-helper') == true && contains(github.event.issue.title, 'IE9') == true || contains(github.event.issue.title, 'IE 9') == true || contains(github.event.issue.title, 'IE10') == true || contains(github.event.issue.title, 'IE 10') == true || contains(github.event.issue.title, 'IE11') == true || contains(github.event.issue.title, 'IE 11') == true || contains(github.event.issue.title, 'Internet Explorer') == true || contains(github.event.issue.body, 'IE9') == true || contains(github.event.issue.body, 'IE 9') == true || contains(github.event.issue.body, 'IE10') == true || contains(github.event.issue.body, 'IE 10') == true || contains(github.event.issue.body, 'IE11') == true || contains(github.event.issue.body, 'IE 11') == true || contains(github.event.issue.body, 'Internet Explorer') == true diff --git a/docs/react/faq.zh-CN.md b/docs/react/faq.zh-CN.md index 2a62e9a365..7d07d57fc6 100644 --- a/docs/react/faq.zh-CN.md +++ b/docs/react/faq.zh-CN.md @@ -103,6 +103,7 @@ antd 内部会对 props 进行浅比较实现性能优化。当状态变更, 历史版本: +- 4.x: https://4x-ant-design.antgroup.com - 3.x: https://ant-design-3x.gitee.io/ - 2.x: https://ant-design-2x.gitee.io/ - 1.x: https://ant-design-1x.gitee.io/