umijs / dumi

📖 Static Site Generator for component library development
https://d.umijs.org
MIT License
3.46k stars 1.17k forks source link

chore: update docs sync source #2058

Closed Wxh16144 closed 2 months ago

Wxh16144 commented 2 months ago

🤔 这个变动的性质是?/ What is the nature of this change?

🔗 相关 Issue / Related Issue

💡 需求背景和解决方案 / Background or solution

我本地还是遇到和去年反馈的问题一样,本地同步 umijs 文档经常失败

image

使用 GitHub raw

同步遇到 443 失败时, 可以尝试 SYNC_USE_GITHUB=1 npm run docs:sync 使用 GitHub 作为源

image

本地启动服务

本地 clone 了 umijs 仓库,使用 http-server启动服务,SYNC_CUSTOM_UPSTREAM=http://127.0.0.1:8080/ npm run docs:sync

image

📝 更新日志 / Changelog

Language Changelog
🇺🇸 English Improve document synchronization logic and support source switching
🇨🇳 Chinese 改进文档同步逻辑,支持切换源
vercel[bot] commented 2 months ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
dumi ✅ Ready (Inspect) Visit Preview 💬 Add feedback Mar 26, 2024 7:42pm
Wxh16144 commented 2 months ago

春节把电脑拿去扩容了,准备了开发环境,又遇到同步 443 问题,来个 pr 改进一下,太痛苦啦