以下划线开头的名称显示错误页面不存在于gh页面分支 [英] Names starting with underscore shows errors Page doesnot exists for gh-pages branch
问题描述
我有一个关于github的gh页面的问题。以_(下划线)开头的html页面显示错误。
页面不存在!阅读完整文档
关于设置username.github.com和东西的说明。
例如:让我们举个例子
https://github.com/harikt/ docs / blob / gh-pages / api / Aura.Di / _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
I have an issue with gh-pages of github. The html pages which start with _ ( underscore ) shows the error.
Page does not exist! Read the Full Documentation
Instructions for setting up username.github.com and stuffs.
For eg : Lets take an example
https://github.com/harikt/docs/blob/gh-pages/api/Aura.Di/_src.html
is the source
It should render at http://harikt.github.com/docs/api/_src.html
But currently its not. It only happens for the names starting with _ ( underscore ). Let me know if anyone have the same issue or can it be resolved without renaming it ?
As of December 27, 2009, you can completely opt-out of Jekyll processing by creating a file named .nojekyll in the root of your pages repo and pushing that to GitHub. This should only be necessary if your site uses directories that begin with an underscore, as Jekyll sees these as special dirs and does not copy them to the final destination.
https://github.com/blog/572-bypassing-jekyll-on-github-pages
这篇关于以下划线开头的名称显示错误页面不存在于gh页面分支的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!