gh-pages content not rendering at corresponding URL?

落花浮王杯 提交于 2019-12-11 22:03:26

问题


I'm using travis to deploy built content into the projects corresponding gh-pages branch. This is the project:

https://github.com/fireflysemantics/is

I see that the doc folder that typedoc generated is in the gh-pages branch, however when I go to:

https://fireflysemantics.github.io/is/doc/index.html

I get a 404, but the index.html pages is in the gh-pages branch at that location:

https://github.com/fireflysemantics/is/blob/gh-pages/doc/index.html

Any idea why it's not rendering?


回答1:


OK - Got it. I had to configure the publishing source for gh-pages.

Note that for typedoc we also need to add a .nojekyll file, so that gh-pages does not ignore files staring with _. See my .travis.yml file for how I did this.



来源:https://stackoverflow.com/questions/51180920/gh-pages-content-not-rendering-at-corresponding-url

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!