Certbot: 损坏的 Certbot 网站文档

创建于 2018-02-19  ·  3评论  ·  资料来源: certbot/certbot

certbot 网站的文档有问题。 链接指向根目录(即certbot.eff.org/using.html而不是certbot.eff.org/docs/using.html ,因此链接被破坏。此外,文档菜单本身显示没有应用 CSS,我认为这也不是故意的。

我不确定负责网站的人是否会看这里,所以如果有人知道这个错误报告的更好地方,我会很乐意重定向这个问题。

我的操作系统是(包括版本):

macOS 10.13.3
Chrome 版本 64.0.3282.167(官方版本)(64 位)
Safari 版本 11.0.3 (13604.5.6)

以下是 Chrome 开发工具的日志:

Refused to apply style from 'https://certbot.eff.org/_static/css/theme.css' because its MIME type ('text/html') is not a supported stylesheet MIME type, and strict MIME checking is enabled.

modernizr.min.js Failed to load resource: the server responded with a status of 404 (Not Found)

jquery.js Failed to load resource: the server responded with a status of 404 (Not Found)

underscore.js Failed to load resource: the server responded with a status of 404 (Not Found)

doctools.js Failed to load resource: the server responded with a status of 404 (Not Found)

theme.js Failed to load resource: the server responded with a status of 404 (Not Found)
docs:329 Uncaught ReferenceError: jQuery is not defined
    at docs:329

docs:1 Refused to apply style from 'https://certbot.eff.org/_static/css/theme.css' because its MIME 
type ('text/html') is not a supported stylesheet MIME type, and strict MIME checking is enabled.
documentation bug has pr

最有用的评论

更新:

因此,只有当用户尝试输入不带斜杠的https://certbot.eff.org/docs才会出现问题。 https://certbot.eff.org/docs/工作正常。

显然,这仅在我转到https://certbot.eff.org并选择实例类型(即 ubuntu 16.04 上的 apache)并单击本节中的文档链接时发生。 顶部导航栏正常工作。

所有3条评论

更新:

因此,只有当用户尝试输入不带斜杠的https://certbot.eff.org/docs才会出现问题。 https://certbot.eff.org/docs/工作正常。

显然,这仅在我转到https://certbot.eff.org并选择实例类型(即 ubuntu 16.04 上的 apache)并单击本节中的文档链接时发生。 顶部导航栏正常工作。

我看到与 marceliwac 相同的损坏文档

页面上: https: //certbot.eff.org/#ubuntuxenial -apache
“阅读我们的文档”链接已损坏。 因为它指向https://certbot.eff.org/docs (没有尾部斜杠)
而不是像其他链接那样https://certbot.eff.org/docs/

感谢报告和诊断! 希望我刚刚创建的 PR 会在实践中解决这个问题。 (也许我们还应该研究为什么尾部斜杠是必要的。)

此页面是否有帮助?
0 / 5 - 0 等级