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

bugfix: 解决mermaid 图绘制失败的问题,mermaid库升级解决 #450

Merged
merged 1 commit into from
Nov 27, 2024

Conversation

bravekingzhang
Copy link
Contributor

@bravekingzhang bravekingzhang commented Nov 27, 2024

修复前

image

修复后

image

Copy link

github-actions bot commented Nov 27, 2024

🎊 PR Preview has been successfully built and deployed to https://doocs-md-preview-pr-450.surge.sh

@bravekingzhang
Copy link
Contributor Author

@yanglbme 帮忙看看,本地构建没有问题
image

@yanglbme
Copy link
Member

不知道是不是 surge token 失效了

@yanglbme
Copy link
Member

可以了,更新了 token

@yanglbme yanglbme merged commit 1a1e151 into doocs:main Nov 27, 2024
2 checks passed
@bravekingzhang
Copy link
Contributor Author

bravekingzhang commented Nov 27, 2024

@yanglbme 需要你帮忙 check 下了,本地和预览没问题,线上的还有问题

线上版本还是有问题

image

预览版本没问题

image

线上的一个js 404 ,预览版 ok 的

image

@yanglbme
Copy link
Member

看来问题还是有,之前就是这种情况,本地ok,线上不行

@bravekingzhang
Copy link
Contributor Author

看来问题还是有,之前就是这种情况,本地ok,线上不行

那比较比较奇怪,上面打出的预览连接又是 ok 的,是不是因为线上那个 URL 被 block

@cuifengcn
Copy link

github的Jekyll会自动忽略以_开头的文件,在根目录创建.nojekyll就可以忽略此规则了。
参考: https://github.blog/news-insights/the-library/bypassing-jekyll-on-github-pages/

@yanglbme
Copy link
Member

我试试

@yanglbme
Copy link
Member

@cuifengcn

确实可以,非常感谢🌹

@bravekingzhang
Copy link
Contributor Author

@cuifengcn

确实可以,非常感谢🌹

好像是可以了,是上面的原因吗?

@yanglbme
Copy link
Member

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

Successfully merging this pull request may close these issues.

3 participants