我对 github 的 gh-pages 有疑问。以 _ (下划线)开头的 html 页面显示错误。
Page does not exist! Read the Full Documentation
Instructions for setting up username.github.com and stuffs.
例如:让我们举个例子
https://github.com/harikt/docs/blob/gh-pages/api/Aura.Di/_src.html https://github.com/harikt/docs/blob/gh-pages/api/Aura.Di/_src.html
是源头
它应该呈现在http://harikt.github.com/docs/api/_src.html http://harikt.github.com/docs/api/_src.html
但目前还不是。仅当名称以 _ (下划线)开头时才会发生这种情况。让我知道是否有人有同样的问题或者可以在不重命名的情况下解决它吗?
自 2009 年 12 月 27 日起,您可以通过在页面存储库的根目录中创建名为 .nojekyll 的文件并将其推送到 GitHub 来完全选择退出 Jekyll 处理。仅当您的站点使用以下划线开头的目录时才需要这样做,因为 Jekyll 将这些视为特殊目录并且不会将它们复制到最终目的地。
https://github.com/blog/572-bypassing-jekyll-on-github-pages https://github.com/blog/572-bypassing-jekyll-on-github-pages
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)