From be9c46ccace72c20c18a8a4db44d3a51f41e2ceb Mon Sep 17 00:00:00 2001 From: afc163 Date: Thu, 24 Nov 2022 11:26:38 +0800 Subject: [PATCH] docs: fix customize theme doc url (#38928) --- CHANGELOG.en-US.md | 2 +- CHANGELOG.zh-CN.md | 2 +- components/config-provider/index.en-US.md | 2 +- components/config-provider/index.zh-CN.md | 2 +- docs/react/use-in-typescript.en-US.md | 2 +- docs/react/use-in-typescript.zh-CN.md | 2 +- docs/react/use-with-create-react-app.en-US.md | 2 +- docs/react/use-with-create-react-app.zh-CN.md | 2 +- 8 files changed, 8 insertions(+), 8 deletions(-) diff --git a/CHANGELOG.en-US.md b/CHANGELOG.en-US.md index d648c7c62c..708ade1403 100644 --- a/CHANGELOG.en-US.md +++ b/CHANGELOG.en-US.md @@ -75,7 +75,7 @@ timeline: true - 🆕 Default algorithm `theme.defaultAlgorithm`. [#36175](https://github.com/ant-design/ant-design/pull/36175) - 🆕 Dark algorithm `theme.darkAlgorithm`. [#36546](https://github.com/ant-design/ant-design/pull/36546) [#36656](https://github.com/ant-design/ant-design/pull/36656) - 🆕 Compact algorithm `theme.compactAlgorithm`. [#38105](https://github.com/ant-design/ant-design/pull/38105) -- 🆕 ConfigProvider support `theme` prop to modify theme configuration. For more: [Customize Theme](https://ant.design/docs/react/customize-theme-v5). +- 🆕 ConfigProvider support `theme` prop to modify theme configuration. For more: [Customize Theme](https://ant.design/docs/react/customize-theme). - 🆕 Support multiple `algorithm` pipeline. [#37082](https://github.com/ant-design/ant-design/pull/37082) - 🆕 Support switching wireframe style. [#37507](https://github.com/ant-design/ant-design/pull/37507) - 🆕 Support override Design Token for single component. [#37568](https://github.com/ant-design/ant-design/pull/37568) diff --git a/CHANGELOG.zh-CN.md b/CHANGELOG.zh-CN.md index 7fbd0eb36d..d59d8cab6e 100644 --- a/CHANGELOG.zh-CN.md +++ b/CHANGELOG.zh-CN.md @@ -75,7 +75,7 @@ timeline: true - 🆕 默认算法 `theme.defaultAlgorithm`。[#36175](https://github.com/ant-design/ant-design/pull/36175) - 🆕 暗色算法 `theme.darkAlgorithm`。[#36546](https://github.com/ant-design/ant-design/pull/36546) [#36656](https://github.com/ant-design/ant-design/pull/36656) - 🆕 紧凑算法 `theme.compactAlgorithm`。[#38105](https://github.com/ant-design/ant-design/pull/38105) -- 🆕 ConfigProvider 新增 `theme` 属性,用于更改主题配置,详情:[定制主题](https://ant.design/docs/react/customize-theme-v5-cn)。 +- 🆕 ConfigProvider 新增 `theme` 属性,用于更改主题配置,详情:[定制主题](https://ant.design/docs/react/customize-theme-cn)。 - 🆕 支持多个 `algorithm`。[#37082](https://github.com/ant-design/ant-design/pull/37082) - 🆕 支持线框化切换。[#37507](https://github.com/ant-design/ant-design/pull/37507) - 🆕 支持覆盖单个组件的主题变量。[#37568](https://github.com/ant-design/ant-design/pull/37568) diff --git a/components/config-provider/index.en-US.md b/components/config-provider/index.en-US.md index 51fb821be7..e8f3456f70 100644 --- a/components/config-provider/index.en-US.md +++ b/components/config-provider/index.en-US.md @@ -61,7 +61,7 @@ Some components use dynamic style to support wave effect. You can config `csp` p | prefixCls | Set prefix className | string | `ant` | | | renderEmpty | Set empty content of components. Ref [Empty](/components/empty/) | function(componentName: string): ReactNode | - | | | space | Set Space `size`, ref [Space](/components/space) | { size: `small` \| `middle` \| `large` \| `number` } | - | 4.1.0 | -| theme | Set theme, ref [Customize Theme](/docs/react/customize-theme-v5) | - | - | 5.0.0 | +| theme | Set theme, ref [Customize Theme](/docs/react/customize-theme) | - | - | 5.0.0 | | virtual | Disable virtual scroll when set to `false` | boolean | - | 4.3.0 | ### ConfigProvider.config() `4.13.0+` diff --git a/components/config-provider/index.zh-CN.md b/components/config-provider/index.zh-CN.md index d4a07ca790..6797bb70a4 100644 --- a/components/config-provider/index.zh-CN.md +++ b/components/config-provider/index.zh-CN.md @@ -62,7 +62,7 @@ export default () => ( | prefixCls | 设置统一样式前缀 | string | `ant` | | | renderEmpty | 自定义组件空状态。参考 [空状态](/components/empty/) | function(componentName: string): ReactNode | - | | | space | 设置 Space 的 `size`,参考 [Space](/components/space) | { size: `small` \| `middle` \| `large` \| `number` } | - | 4.1.0 | -| theme | 设置主题,参考 [定制主题](/docs/react/customize-theme-v5-cn) | - | - | 5.0.0 | +| theme | 设置主题,参考 [定制主题](/docs/react/customize-theme-cn) | - | - | 5.0.0 | | virtual | 设置 `false` 时关闭虚拟滚动 | boolean | - | 4.3.0 | ### ConfigProvider.config() `4.13.0+` diff --git a/docs/react/use-in-typescript.en-US.md b/docs/react/use-in-typescript.en-US.md index 496f7dbe08..13868544cf 100644 --- a/docs/react/use-in-typescript.en-US.md +++ b/docs/react/use-in-typescript.en-US.md @@ -98,7 +98,7 @@ module.exports = { ### Customize Theme -Ref to the [Customize Theme documentation](/docs/react/customize-theme-v5). Modify theme with ConfigProvider: +Ref to the [Customize Theme documentation](/docs/react/customize-theme). Modify theme with ConfigProvider: ```tsx import React from 'react'; diff --git a/docs/react/use-in-typescript.zh-CN.md b/docs/react/use-in-typescript.zh-CN.md index 3e25cd7824..ca03a212a1 100644 --- a/docs/react/use-in-typescript.zh-CN.md +++ b/docs/react/use-in-typescript.zh-CN.md @@ -100,7 +100,7 @@ module.exports = { ### 自定义主题 -参考 [配置主题](/docs/react/customize-theme-v5),通过 ConfigProvider 进行主题配置: +参考 [配置主题](/docs/react/customize-theme),通过 ConfigProvider 进行主题配置: ```tsx import React from 'react'; diff --git a/docs/react/use-with-create-react-app.en-US.md b/docs/react/use-with-create-react-app.en-US.md index 47d06f0cfc..6e3762e330 100644 --- a/docs/react/use-with-create-react-app.en-US.md +++ b/docs/react/use-with-create-react-app.en-US.md @@ -122,7 +122,7 @@ module.exports = { ### Customize Theme -Ref to the [Customize Theme documentation](/docs/react/customize-theme-v5). Modify theme with ConfigProvider: +Ref to the [Customize Theme documentation](/docs/react/customize-theme). Modify theme with ConfigProvider: ```tsx import React from 'react'; diff --git a/docs/react/use-with-create-react-app.zh-CN.md b/docs/react/use-with-create-react-app.zh-CN.md index 3b572cb180..5851a331cf 100644 --- a/docs/react/use-with-create-react-app.zh-CN.md +++ b/docs/react/use-with-create-react-app.zh-CN.md @@ -112,7 +112,7 @@ module.exports = { ### 自定义主题 -参考 [配置主题](/docs/react/customize-theme-v5),通过 ConfigProvider 进行主题配置: +参考 [配置主题](/docs/react/customize-theme),通过 ConfigProvider 进行主题配置: ```tsx import React from 'react';