From 95aec7b4c1e65b8bba4800ba1e7693a74faf4943 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=99=88=E5=86=9B?= Date: Sun, 15 Oct 2023 18:55:54 +0800 Subject: [PATCH 1/2] =?UTF-8?q?[feat]=E8=A7=A3=E5=86=B3dumi=E5=8D=87?= =?UTF-8?q?=E7=BA=A7=E5=88=B02.0=E7=9A=84=E4=B8=80=E4=BA=9B=E5=85=BC?= =?UTF-8?q?=E5=AE=B9=E6=80=A7=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .dumirc.ts | 9 +++++---- .gitignore | 1 + docs/README.md | 8 ++++---- docs/README.zh-CN.md | 8 ++++---- docs/api/README.md | 1 + docs/api/README.zh-CN.md | 1 + docs/cookbook/README.md | 1 + docs/cookbook/README.zh-CN.md | 1 + docs/faq/README.md | 1 + docs/faq/README.zh-CN.md | 1 + docs/guide/README.md | 1 + 11 files changed, 21 insertions(+), 12 deletions(-) diff --git a/.dumirc.ts b/.dumirc.ts index c291e0297..02bbe265c 100644 --- a/.dumirc.ts +++ b/.dumirc.ts @@ -1,7 +1,6 @@ import { defineConfig } from 'dumi'; export default defineConfig({ - ssr: {}, publicPath: process.env.NOW_DEPLOY ? '/' : '/qiankun/', base: process.env.NOW_DEPLOY ? '/' : '/qiankun', resolve: { @@ -13,6 +12,7 @@ export default defineConfig({ { id: 'zh-CN', name: '中文' }, ], themeConfig: { + name: 'qiankun', logo: 'https://gw.alipayobjects.com/zos/bmw-prod/8a74c1d3-16f3-4719-be63-15e467a68a24/km0cv8vn_w500_h500.png', nav: { mode: 'append', @@ -26,7 +26,6 @@ export default defineConfig({ { title: '1.x 版本', link: 'https://v1.qiankun.umijs.org/zh/' }, ], }, - { title: 'GitHub', link: 'https://github.com/umijs/qiankun' }, ], 'en-US': [ { @@ -37,10 +36,12 @@ export default defineConfig({ { title: '1.x Version', link: 'https://v1.qiankun.umijs.org/' }, ], }, - { title: 'GitHub', link: 'https://github.com/umijs/qiankun' }, ], }, }, + socialLinks: { + github: 'https://github.com/umijs/dumi', + }, }, metas: [ { @@ -57,4 +58,4 @@ export default defineConfig({ theme: { '@c-primary': '#6451AB', }, -}); +}); \ No newline at end of file diff --git a/.gitignore b/.gitignore index 53b288827..8370b95cb 100755 --- a/.gitignore +++ b/.gitignore @@ -11,6 +11,7 @@ config.local.js .umi .umi-production .idea/ +.vscode/ .cache yarn.lock es diff --git a/docs/README.md b/docs/README.md index c4b85686d..1023907bc 100644 --- a/docs/README.md +++ b/docs/README.md @@ -2,17 +2,17 @@ title: qiankun hero: title: qiankun - desc: Probably the most complete micro-frontends solution you ever met🧐 + description: Probably the most complete micro-frontends solution you ever met🧐 actions: - text: Get Started → link: /guide features: - title: Simple - desc: Works with any javascript framework. Build your micro-frontend system just like using with iframe, but not iframe actually. + description: Works with any javascript framework. Build your micro-frontend system just like using with iframe, but not iframe actually. - title: Complete - desc: Includes almost all the basic capabilities required to build a micro-frontend system, such as style isolation, js sandbox, preloading, and so on. + description: Includes almost all the basic capabilities required to build a micro-frontend system, such as style isolation, js sandbox, preloading, and so on. - title: Production-Ready - desc: Had been extensively tested and polished by a large number of online applications both inside and outside of Ant Financial, the robustness is trustworthy. + description: Had been extensively tested and polished by a large number of online applications both inside and outside of Ant Financial, the robustness is trustworthy. footer: MIT Licensed | Copyright © 2019-present
Powered by [dumi](https://d.umijs.org) --- diff --git a/docs/README.zh-CN.md b/docs/README.zh-CN.md index b49c7bb1d..8da4deae9 100644 --- a/docs/README.zh-CN.md +++ b/docs/README.zh-CN.md @@ -2,17 +2,17 @@ title: qiankun hero: title: qiankun - desc: 可能是你见过最完善的微前端解决方案🧐 + description: 可能是你见过最完善的微前端解决方案🧐 actions: - text: 快速开始 → link: /zh/guide features: - title: 简单 - desc: 任意 js 框架均可使用。微应用接入像使用接入一个 iframe 系统一样简单,但实际不是 iframe。 + description: 任意 js 框架均可使用。微应用接入像使用接入一个 iframe 系统一样简单,但实际不是 iframe。 - title: 完备 - desc: 几乎包含所有构建微前端系统时所需要的基本能力,如 样式隔离、js 沙箱、预加载等。 + description: 几乎包含所有构建微前端系统时所需要的基本能力,如 样式隔离、js 沙箱、预加载等。 - title: 生产可用 - desc: 已在蚂蚁内外经受过足够大量的线上系统的考验及打磨,健壮性值得信赖。 + description: 已在蚂蚁内外经受过足够大量的线上系统的考验及打磨,健壮性值得信赖。 footer: MIT Licensed | Copyright © 2019-present
Powered by [dumi](https://d.umijs.org) --- diff --git a/docs/api/README.md b/docs/api/README.md index ef33bdbd2..c2248750f 100644 --- a/docs/api/README.md +++ b/docs/api/README.md @@ -1,6 +1,7 @@ --- nav: title: API + order: 1 toc: menu --- diff --git a/docs/api/README.zh-CN.md b/docs/api/README.zh-CN.md index 269e0f55d..f77c34013 100644 --- a/docs/api/README.zh-CN.md +++ b/docs/api/README.zh-CN.md @@ -1,6 +1,7 @@ --- nav: title: API + order: 1 toc: menu --- diff --git a/docs/cookbook/README.md b/docs/cookbook/README.md index a15e22ff3..cd108ba08 100644 --- a/docs/cookbook/README.md +++ b/docs/cookbook/README.md @@ -1,6 +1,7 @@ --- nav: title: Tutorial + order: 3 toc: menu --- diff --git a/docs/cookbook/README.zh-CN.md b/docs/cookbook/README.zh-CN.md index b02467c16..2aeafcb27 100644 --- a/docs/cookbook/README.zh-CN.md +++ b/docs/cookbook/README.zh-CN.md @@ -1,6 +1,7 @@ --- nav: title: 入门教程 + order: 3 toc: menu --- diff --git a/docs/faq/README.md b/docs/faq/README.md index 957597b57..bf2a22723 100644 --- a/docs/faq/README.md +++ b/docs/faq/README.md @@ -1,6 +1,7 @@ --- nav: title: FAQ + order: 2 toc: menu --- diff --git a/docs/faq/README.zh-CN.md b/docs/faq/README.zh-CN.md index 13ec57709..978298c1e 100644 --- a/docs/faq/README.zh-CN.md +++ b/docs/faq/README.zh-CN.md @@ -1,6 +1,7 @@ --- nav: title: 常见问题 + order: 2 toc: menu --- diff --git a/docs/guide/README.md b/docs/guide/README.md index 46c864764..6750a3b27 100644 --- a/docs/guide/README.md +++ b/docs/guide/README.md @@ -1,5 +1,6 @@ --- nav: + title: Guide order: 0 toc: menu --- From 2eb5547c4e51fdaabd3a59fe5c02493440f34e8a Mon Sep 17 00:00:00 2001 From: qiongshusheng <747010491@qq.com> Date: Mon, 16 Oct 2023 20:42:01 -0500 Subject: [PATCH 2/2] fix:ci MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 解决ci问题 --- .dumirc.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.dumirc.ts b/.dumirc.ts index 02bbe265c..d57522e57 100644 --- a/.dumirc.ts +++ b/.dumirc.ts @@ -58,4 +58,4 @@ export default defineConfig({ theme: { '@c-primary': '#6451AB', }, -}); \ No newline at end of file +});