From 73139eb5afe84432e34edda76f96a553f2457dbb Mon Sep 17 00:00:00 2001 From: MadCcc <1075746765@qq.com> Date: Fri, 18 Nov 2022 13:10:45 +0800 Subject: [PATCH] docs: 5.0.0 changelog (#38642) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * docs: 5.0.0 changelog * chore: bump version * chore: english changelog * chore: code clean * docs: add missing break line * docs: eng version pretter * chore: update * chore: clean * chore: remove backtop doc * chore: update changelog * chore: code clean * docs: update * rm eng log Co-authored-by: 二货机器人 --- .antd-tools.config.js | 1 - .dumi/theme/plugin.ts | 14 +- CHANGELOG.en-US.md | 3451 +-------------------------- CHANGELOG.zh-CN.md | 3454 +--------------------------- components/back-top/index.en-US.md | 34 - components/back-top/index.zh-CN.md | 35 - package.json | 2 +- 7 files changed, 160 insertions(+), 6831 deletions(-) delete mode 100644 components/back-top/index.en-US.md delete mode 100644 components/back-top/index.zh-CN.md diff --git a/.antd-tools.config.js b/.antd-tools.config.js index 8a1126d63b..5c139e9d30 100644 --- a/.antd-tools.config.js +++ b/.antd-tools.config.js @@ -29,5 +29,4 @@ module.exports = { finalize: finalizeDist, }, bail: true, - tag: 'next', }; diff --git a/.dumi/theme/plugin.ts b/.dumi/theme/plugin.ts index 2168e31943..3d844e810c 100644 --- a/.dumi/theme/plugin.ts +++ b/.dumi/theme/plugin.ts @@ -44,7 +44,7 @@ const RoutesPlugin = (api: IApi) => { api.registerTechStack(() => new AntdReactTechStack()); - api.modifyRoutes(routes => { + api.modifyRoutes((routes) => { // TODO: append extra routes, such as home, changelog, form-v3 const extraRoutesList: IRoute[] = [ @@ -64,24 +64,24 @@ const RoutesPlugin = (api: IApi) => { }, ]; - extraRoutesList.forEach(itemRoute => { + extraRoutesList.forEach((itemRoute) => { routes[itemRoute.path] = itemRoute; }); return routes; }); - api.modifyExportHTMLFiles(files => + api.modifyExportHTMLFiles((files) => files // exclude dynamic route path, to avoid deploy failed by `:id` directory - .filter(f => !f.path.includes(':')) + .filter((f) => !f.path.includes(':')) // FIXME: workaround to make emotion support react 18 pipeableStream // ref: https://github.com/emotion-js/emotion/issues/2800#issuecomment-1221296308 - .map(file => { + .map((file) => { let styles = ''; // extract all emotion style tags from body - file.content = file.content.replace(/