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

Gitee 文档站下线通知 & 解决方法 #12846

Open
chenjiahan opened this issue May 2, 2024 · 10 comments
Open

Gitee 文档站下线通知 & 解决方法 #12846

chenjiahan opened this issue May 2, 2024 · 10 comments

Comments

@chenjiahan
Copy link
Member

chenjiahan commented May 2, 2024

Gitee 文档站下线

大家好,过去 Vant 的文档站采取了 GitHub Pages + Gitee Pages 双部署的方式,以方便国内开发者访问文档。

然而,近期 Gitee 在没有通知的情况下,下线了所有 Gitee Pages 的服务,因此我们已经无法访问 https://vant-contrib.gitee.io/vant/ 这个域名。

关于 Gitee Pages 下线的背景,可以参考 https://gitee.com/oschina/git-osc/issues/I9L5FJ?from=project-issue

解决方法

请访问 Vant 部署在 GitHub Pages 上的网站:

2024.05.13 更新

我们正在部署新的国内镜像站点,敬请期待

2024.05.31 更新

欢迎试用我们新部署的国内站点:

感谢 @delai 提供域名和部署支持 ❤️

@chenjiahan chenjiahan pinned this issue May 2, 2024
@wumuu
Copy link

wumuu commented May 6, 2024

无语,我说怎么找不到,国内有没有可以替代的服务,GitHub真的太慢

@chenzhengduan
Copy link

太坑了

@miaosen
Copy link

miaosen commented May 13, 2024

可以直接把文档下载下来离线查看,使用idea把源码的gh-pages分支签出来,然后打开根目录的index,html,点右上角预览行了,不过奇怪的是线上的文档是4.9.0的,gh-pages里面却是4.8.11,不知道是不是我找错地方了

@xiangshiyun
Copy link

怎么把文档部署到本地,我拉gh-pages分支,打不开里面的html,打开是空白的。我是直接打开html文件,需要做其他的什么操作吗?

@miaosen
Copy link

miaosen commented May 28, 2024

怎么把文档部署到本地,我拉gh-pages分支,打不开里面的html,打开是空白的。我是直接打开html文件,需要做其他的什么操作吗?

得用http服务部署,idea直接预览html就好了,或者使用ngnix部署,最新文档在 https://github.com/vant-ui/vant-ui.github.io/tree/gh-pages

@flyweb291
Copy link

怎么在本地部署2.x版本的文档站点

@xiangshiyun
Copy link

怎么把文档部署到本地,我拉gh-pages分支,打不开里面的html,打开是空白的。我是直接打开html文件,需要做其他的什么操作吗?

得用http服务部署,idea直接预览html就好了,或者使用ngnix部署,最新文档在 https://github.com/vant-ui/vant-ui.github.io/tree/gh-pages

我没有idea,所以用nginx部署,但是也不行诶,您那边有教程吗? 我就把gh-pages的内容放到了html文件夹下面了。

@chenjiahan
Copy link
Member Author

欢迎试用我们新部署的国内站点:

@delai
Copy link

delai commented Jun 1, 2024

有个稳定的文档站点是最基本的,大家放心用: https://vant.pro ,我会保证他长期稳定

@miaosen
Copy link

miaosen commented Jun 2, 2024

怎么把文档部署到本地,我拉gh-pages分支,打不开里面的html,打开是空白的。我是直接打开html文件,需要做其他的什么操作吗?

得用http服务部署,idea直接预览html就好了,或者使用ngnix部署,最新文档在 https://github.com/vant-ui/vant-ui.github.io/tree/gh-pages

我没有idea,所以用nginx部署,但是也不行诶,您那边有教程吗? 我就把gh-pages的内容放到了html文件夹下面了。

把vant-ui放到nginx的html文件夹,启动然后访问http://localhost/vant-ui/vant/index.html#/zh-CN/cell

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

7 participants