【问题标题】:gh-pages content not rendering at corresponding URL?gh-pages 内容未在相应的 URL 处呈现?
【发布时间】:2018-07-05 06:10:16
【问题描述】:

我正在使用 travis 将构建的内容部署到与 gh-pages 分支对应的项目中。这是项目:

https://github.com/fireflysemantics/is

我看到 typedoc 生成的 doc 文件夹在 gh-pages 分支中,但是当我转到:

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

我得到一个 404,但 index.html 页面位于该位置的 gh-pages 分支中:

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

知道为什么它不渲染吗?

【问题讨论】:

    标签: git github github-pages


    【解决方案1】:

    好的 - 明白了。我不得不configure the publishing source for gh-pages

    请注意,对于 typedoc,我们还需要添加一个.nojekyll 文件,以便gh-pages 不会忽略以_ 开头的文件。请参阅我的 .travis.yml 文件了解我是如何做到的。

    【讨论】:

      猜你喜欢
      • 2015-06-27
      • 2020-11-12
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2018-12-09
      • 1970-01-01
      • 2017-09-10
      • 2013-04-06
      相关资源
      最近更新 更多