【问题标题】:GitHub Pages is not serving PNG filesGitHub Pages 不提供 PNG 文件
【发布时间】:2019-12-29 17:03:41
【问题描述】:

geoplot 的文档是通过 GitHub Pages 呈现的,位于其存储库的 gh-pages 分支之外。但是,以下页面上的某些图像无法呈现:https://residentmario.github.io/geoplot/quickstart/quickstart.html

以图片QuickStart_21_2.png和图片QuickStart_10_1.png为例。这两个文件都位于存储库的gh-pages 分支中的_images folder,但前者is served correctly,后者serves a 404

为什么不渲染这些文件?

【问题讨论】:

  • 当我刚才检查Quickstart时,所有图像似乎都在正确渲染。

标签: github http-status-code-404 github-pages


【解决方案1】:

事实证明,这是由于围绕文件名大小写约定的一些有趣的动态以及(可能)GitHub 上的某种中间缓存。更多细节在这里:https://github.com/ResidentMario/geoplot/issues/175

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2017-11-20
    • 1970-01-01
    • 2021-12-31
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2015-09-12
    • 2017-09-14
    相关资源
    最近更新 更多