diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md index 5b5feef4e0c..1e0ea1a68a7 100644 --- a/.github/PULL_REQUEST_TEMPLATE.md +++ b/.github/PULL_REQUEST_TEMPLATE.md @@ -1,3 +1,3 @@ -Before submitting a pull request, please read the [contributing guide](https://vant-contrib.gitee.io/vant/#/en-US/contribution). +Before submitting a pull request, please read the [contributing guide](https://vant-ui.github.io/vant/#/en-US/contribution). -在提交 pull request 之前,请阅读 [贡献指南](https://vant-contrib.gitee.io/vant/#/zh-CN/contribution)。 +在提交 pull request 之前,请阅读 [贡献指南](https://vant-ui.github.io/vant/#/zh-CN/contribution)。 diff --git a/.github/workflows/deploy-v4-site.yml b/.github/workflows/deploy-v4-site.yml index 6fd666e35a9..2b544d1a089 100644 --- a/.github/workflows/deploy-v4-site.yml +++ b/.github/workflows/deploy-v4-site.yml @@ -32,30 +32,6 @@ jobs: - name: Build Site run: npm run build:site - - name: Deploy for Gitee 🚀 - uses: JamesIves/github-pages-deploy-action@v4.6.0 - with: - branch: gh-pages - folder: packages/vant/site-dist - # enable single-commit to reduce the repo size - single-commit: true - clean: true - clean-exclude: | - 1.x/* - 1.x/**/* - next/* - next/**/* - v1/* - v1/**/* - v2/* - v2/**/* - v3/* - v3/**/* - v4/* - v4/**/* - vant-use/* - vant-use/**/* - - name: Deploy for GitHub 🚀 uses: JamesIves/github-pages-deploy-action@v4.6.0 with: diff --git a/.github/workflows/sync-gitee.yml b/.github/workflows/sync-gitee.yml deleted file mode 100644 index 7dfb91b84a3..00000000000 --- a/.github/workflows/sync-gitee.yml +++ /dev/null @@ -1,28 +0,0 @@ -name: Sync to Gitee - -on: - push: - tags: - - 'v*' # Push events to matching v*, i.e. v1.0, v20.15.10 - - # Sync to gitee everyday - schedule: - - cron: '0 1 * * *' - - workflow_dispatch: - -jobs: - build: - if: github.repository == 'youzan/vant' - runs-on: ubuntu-latest - steps: - - name: Sync to Gitee - uses: wearerequired/git-mirror-action@v1.2.0 - env: - # 在 Settings->Secrets 配置 GITEE_RSA_PRIVATE_KEY - SSH_PRIVATE_KEY: ${{ secrets.GITEE_RSA_PRIVATE_KEY }} - with: - # GitHub 源仓库地址 - source-repo: git@github.com:vant-ui/vant.git - # Gitee 目标仓库地址 - destination-repo: git@gitee.com:vant-contrib/vant.git diff --git a/README.md b/README.md index 6f6f09fdd27..de830d6e24c 100644 --- a/README.md +++ b/README.md @@ -14,11 +14,15 @@

- 🔥 文档网站(国内) + Documentation   - 🌈 文档网站(GitHub) + ·   - 🇨🇳 中文版介绍 + 文档站 +   + · +   + 中文介绍

--- @@ -120,7 +124,6 @@ Vant 3/4 supports modern browsers and Chrome >= 51、iOS >= 10.0 (same as Vue 3) | --- | --- | | [3lang3/react-vant](https://github.com/3lang3/react-vant) | React mobile UI Components based on Vant | | [vant-aliapp](https://github.com/ant-move/Vant-Aliapp) | Alipay MiniProgram UI | -| [taroify](https://gitee.com/mallfoundry/taroify) | Vant Taro | | [vant-theme](https://github.com/Aisen60/vant-theme) | Online theme preview built on Vant UI | | [@antmjs/vantui](https://github.com/antmjs/vantui) | Mobile UI Components based on Vant, supporting Taro and React | | [vant-playground](https://github.com/LadyChatterleyLover/vant-playground) | Vant Playground | diff --git a/README.zh-CN.md b/README.zh-CN.md index 4fe3244139b..ed92c1476fd 100644 --- a/README.zh-CN.md +++ b/README.zh-CN.md @@ -14,9 +14,7 @@

- 🔥 文档网站(国内) -   - 🌈 文档网站(GitHub) + 🌈 文档网站

--- @@ -25,7 +23,7 @@ Vant 是一个**轻量、可定制的移动端组件库**,于 2017 年开源。 -目前 Vant 官方提供了 [Vue 2 版本](https://vant-contrib.gitee.io/vant/v2)、[Vue 3 版本](https://vant-contrib.gitee.io/vant)和[微信小程序版本](http://vant-contrib.gitee.io/vant-weapp),并由社区团队维护 [React 版本](https://github.com/3lang3/react-vant)和[支付宝小程序版本](https://github.com/ant-move/Vant-Aliapp)。 +目前 Vant 官方提供了 [Vue 2 版本](https://vant-ui.github.io/vant/v2)、[Vue 3 版本](https://vant-ui.github.io/vant)和[微信小程序版本](https://vant-ui.github.io/vant-weapp),并由社区团队维护 [React 版本](https://github.com/3lang3/react-vant)和[支付宝小程序版本](https://github.com/ant-move/Vant-Aliapp)。 ## 特性 @@ -99,7 +97,7 @@ const app = createApp(); app.use(Button); ``` -vant 也支持按需引入、CDN 引入等方式,详细说明见 [快速上手](https://vant-contrib.gitee.io/vant#/zh-CN/quickstart). +vant 也支持按需引入、CDN 引入等方式,详细说明见 [快速上手](https://vant-ui.github.io/vant#/zh-CN/quickstart). ## 浏览器支持 @@ -128,7 +126,6 @@ Vant 3/4 支持现代浏览器以及 Chrome >= 51、iOS >= 10.0(与 Vue 3 一 | --- | --- | | [3lang3/react-vant](https://github.com/3lang3/react-vant) | 参照 Vant 打造的 React 框架移动端组件库 | | [vant-aliapp](https://github.com/ant-move/Vant-Aliapp) | Vant 支付宝小程序版 | -| [taroify](https://gitee.com/mallfoundry/taroify) | Vant Taro 版 | | [vant-theme](https://github.com/Aisen60/vant-theme) | Vant 在线主题预览工具 | | [@antmjs/vantui](https://github.com/antmjs/vantui) | 基于 Vant Weapp 开发的多端组件库,同时支持 Taro 和 React | | [vant-playground](https://github.com/LadyChatterleyLover/vant-playground) | Vant Playground | @@ -139,9 +136,8 @@ Vant 3/4 支持现代浏览器以及 Chrome >= 51、iOS >= 10.0(与 Vue 3 一 ## 链接 -- [详细文档](https://vant-contrib.gitee.io/vant) -- [更新日志](https://vant-contrib.gitee.io/vant#/zh-CN/changelog) -- [码云镜像仓库](https://gitee.com/vant-contrib/vant) +- [详细文档](https://vant-ui.github.io/vant) +- [更新日志](https://vant-ui.github.io/vant#/zh-CN/changelog) - [Discussions 讨论区](https://github.com/vant-ui/vant/discussions) ## 手机预览 @@ -172,7 +168,7 @@ Vant 3/4 支持现代浏览器以及 Chrome >= 51、iOS >= 10.0(与 Vue 3 一 ## 贡献指南 -修改代码请阅读我们的 [贡献指南](https://vant-contrib.gitee.io/vant/#/zh-CN/contribution)。 +修改代码请阅读我们的 [贡献指南](https://vant-ui.github.io/vant/#/zh-CN/contribution)。 使用过程中发现任何问题都可以提 [Issue](https://github.com/vant-ui/vant/issues) 给我们,当然,我们也非常欢迎你给我们发 [PR](https://github.com/vant-ui/vant/pulls)。 diff --git a/packages/vant/docs/markdown/contribution.en-US.md b/packages/vant/docs/markdown/contribution.en-US.md index 8612e6e6ab5..9f201b9efda 100644 --- a/packages/vant/docs/markdown/contribution.en-US.md +++ b/packages/vant/docs/markdown/contribution.en-US.md @@ -39,16 +39,6 @@ Different branches of the repository correspond to different Vant versions, plea - 3.x branch corresponds to Vant 3 version, suitable for Vue 3 - 2.x branch corresponds to Vant 2 version, suitable for Vue 2 -### Mirror repository - -If GitHub cloning is slow, you can also directly clone Vant's [mirror repository](https://gitee.com/vant-contrib/vant) directly on gitee: - -```bash -git clone git@gitee.com:vant-contrib/vant.git -``` - -The mirror repository is only used to speed up local access, please do not submit issues and pull requests to the mirror repository. - ### Directory Structure Vant uses monorepo for code management, and all subpackages are in the `packages/vant` directory: diff --git a/packages/vant/docs/markdown/contribution.zh-CN.md b/packages/vant/docs/markdown/contribution.zh-CN.md index f44d12f97c9..e10ba099112 100644 --- a/packages/vant/docs/markdown/contribution.zh-CN.md +++ b/packages/vant/docs/markdown/contribution.zh-CN.md @@ -39,16 +39,6 @@ pnpm dev - 3.x 分支对应 Vant 3 版本 ,适用于 Vue 3 - 2.x 分支对应 Vant 2 版本,适用于 Vue 2 -### 镜像仓库 - -如果 GitHub 克隆速度较慢,你也可以直接克隆 Vant 在 gitee 上的[镜像仓库](https://gitee.com/vant-contrib/vant): - -```bash -git clone git@gitee.com:vant-contrib/vant.git -``` - -镜像仓库仅用于加快国内的访问速度,请勿在镜像仓库中提 issue 和 Pull Request。 - ### 目录结构 Vant 采用 monorepo 进行代码管理,所有子包在 `packages` 目录下: diff --git a/packages/vant/docs/markdown/home.en-US.md b/packages/vant/docs/markdown/home.en-US.md index c01a42456af..0bbd17044a2 100644 --- a/packages/vant/docs/markdown/home.en-US.md +++ b/packages/vant/docs/markdown/home.en-US.md @@ -78,7 +78,6 @@ The current maintenance status of each version of Vant is as follows: | --- | --- | | [3lang3/react-vant](https://github.com/3lang3/react-vant) | React mobile UI Components based on Vant | | [vant-aliapp](https://github.com/ant-move/Vant-Aliapp) | Alipay MiniProgram UI | -| [taroify](https://gitee.com/mallfoundry/taroify) | Vant Taro | | [vant-theme](https://github.com/Aisen60/vant-theme) | Online theme preview built on Vant UI | | [@antmjs/vantui](https://github.com/antmjs/vantui) | Mobile UI Components based on Vant, supporting Taro and React | | [vant-playground](https://github.com/LadyChatterleyLover/vant-playground) | Vant Playground | diff --git a/packages/vant/docs/markdown/home.zh-CN.md b/packages/vant/docs/markdown/home.zh-CN.md index 8d61cee7b34..5fd3134035f 100644 --- a/packages/vant/docs/markdown/home.zh-CN.md +++ b/packages/vant/docs/markdown/home.zh-CN.md @@ -10,7 +10,7 @@ Vant 是一个**轻量、可定制的移动端组件库**,于 2017 年开源。 -目前 Vant 官方提供了 [Vue 2 版本](https://vant-contrib.gitee.io/vant/v2)、[Vue 3 版本](https://vant-contrib.gitee.io/vant)和[微信小程序版本](http://vant-contrib.gitee.io/vant-weapp),并由社区团队维护 [React 版本](https://github.com/3lang3/react-vant)和[支付宝小程序版本](https://github.com/ant-move/Vant-Aliapp)。 +目前 Vant 官方提供了 [Vue 2 版本](https://vant-ui.github.io/vant/v2)、[Vue 3 版本](https://vant-ui.github.io/vant)和[微信小程序版本](https://vant-ui.github.io/vant-weapp),并由社区团队维护 [React 版本](https://github.com/3lang3/react-vant)和[支付宝小程序版本](https://github.com/ant-move/Vant-Aliapp)。 ### 特性 @@ -32,7 +32,7 @@ Vant 是一个**轻量、可定制的移动端组件库**,于 2017 年开源 ### 版本提示 -你当前浏览的是 **Vant 4.x 版本** 的文档,适用于 Vue 3 开发。如果你在使用 Vue 2,请浏览 [Vant 2 文档](https://vant-contrib.gitee.io/vant/v2)。 +你当前浏览的是 **Vant 4.x 版本** 的文档,适用于 Vue 3 开发。如果你在使用 Vue 2,请浏览 [Vant 2 文档](https://vant-ui.github.io/vant/v2)。 ### 脚手架 @@ -92,7 +92,6 @@ Vant 3/4 支持现代浏览器以及 Chrome >= 51、iOS >= 10.0(与 Vue 3 一 | --- | --- | | [3lang3/react-vant](https://github.com/3lang3/react-vant) | 参照 Vant 打造的 React 移动端组件库 | | [vant-aliapp](https://github.com/ant-move/Vant-Aliapp) | Vant 支付宝小程序版 | -| [taroify](https://gitee.com/mallfoundry/taroify) | Vant Taro 版 | | [vant-theme](https://github.com/Aisen60/vant-theme) | Vant 在线主题预览工具 | | [@antmjs/vantui](https://github.com/antmjs/vantui) | 基于 Vant Weapp 开发的多端组件库,同时支持 Taro 和 React | | [vant-playground](https://github.com/LadyChatterleyLover/vant-playground) | Vant Playground | @@ -104,7 +103,6 @@ Vant 3/4 支持现代浏览器以及 Chrome >= 51、iOS >= 10.0(与 Vue 3 一 - [意见反馈](https://github.com/vant-ui/vant/issues) - [更新日志](#/zh-CN/changelog) -- [码云镜像仓库](https://gitee.com/vant-contrib/vant) - [Discussions 讨论区](https://github.com/vant-ui/vant/discussions) ## 贡献 diff --git a/packages/vant/vant.config.mjs b/packages/vant/vant.config.mjs index d65f0e3fddd..c01bb8f8334 100644 --- a/packages/vant/vant.config.mjs +++ b/packages/vant/vant.config.mjs @@ -49,7 +49,7 @@ location.href = location.href.replace('youzan.github.io', 'vant-ui.github.io'); links: [ { logo: 'https://fastly.jsdelivr.net/npm/@vant/assets/weapp.svg', - url: 'https://vant-contrib.gitee.io/vant-weapp/', + url: 'https://vant-ui.github.io/vant-weapp/', }, { logo: 'https://fastly.jsdelivr.net/npm/@vant/assets/github.svg',