Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: remove all Gitee links #12845

Merged
merged 1 commit into from
May 2, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -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)。
24 changes: 0 additions & 24 deletions .github/workflows/deploy-v4-site.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,30 +32,6 @@ jobs:
- name: Build Site
run: npm run build:site

- name: Deploy for Gitee 🚀
uses: JamesIves/[email protected]
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/[email protected]
with:
Expand Down
28 changes: 0 additions & 28 deletions .github/workflows/sync-gitee.yml

This file was deleted.

11 changes: 7 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,15 @@
</p>

<p align="center">
🔥 <a href="https://vant-contrib.gitee.io/vant">文档网站(国内)</a>
<a href="https://vant-ui.github.io/vant">Documentation</a>
&nbsp;
🌈 <a href="https://vant-ui.github.io/vant">文档网站(GitHub)</a>
·
&nbsp;
🇨🇳 <a href="./README.zh-CN.md">中文版介绍</a>
<a href="https://vant-ui.github.io/vant">文档站</a>
&nbsp;
·
&nbsp;
<a href="./README.zh-CN.md">中文介绍</a>
</p>

---
Expand Down Expand Up @@ -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 |
Expand Down
16 changes: 6 additions & 10 deletions README.zh-CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,7 @@
</p>

<p align="center">
🔥 <a href="https://vant-contrib.gitee.io/vant">文档网站(国内)</a>
&nbsp;
🌈 <a href="https://vant-ui.github.io/vant">文档网站(GitHub)</a>
🌈 <a href="https://vant-ui.github.io/vant">文档网站</a>
</p>

---
Expand All @@ -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)。

## 特性

Expand Down Expand Up @@ -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).

## 浏览器支持

Expand Down Expand Up @@ -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 |
Expand All @@ -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)

## 手机预览
Expand Down Expand Up @@ -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)。

Expand Down
10 changes: 0 additions & 10 deletions packages/vant/docs/markdown/contribution.en-US.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 [email protected]: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:
Expand Down
10 changes: 0 additions & 10 deletions packages/vant/docs/markdown/contribution.zh-CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 [email protected]:vant-contrib/vant.git
```

镜像仓库仅用于加快国内的访问速度,请勿在镜像仓库中提 issue 和 Pull Request。

### 目录结构

Vant 采用 monorepo 进行代码管理,所有子包在 `packages` 目录下:
Expand Down
1 change: 0 additions & 1 deletion packages/vant/docs/markdown/home.en-US.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 |
Expand Down
6 changes: 2 additions & 4 deletions packages/vant/docs/markdown/home.zh-CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)。

### 特性

Expand All @@ -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)。

### 脚手架

Expand Down Expand Up @@ -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 |
Expand All @@ -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)

## 贡献
Expand Down
2 changes: 1 addition & 1 deletion packages/vant/vant.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down