【问题标题】:GitHub Pages (github.io) doxygen generated page not found (404)GitHub Pages (github.io) doxygen 生成的页面未找到 (404)
【发布时间】:2016-03-15 03:03:34
【问题描述】:

我不明白为什么找不到 doxygen 生成的页面 (404)。

它在Github仓库的路径是https://github.com/AubinMahe/AubinMahe.github.io/blob/master/doxygen/html/dd/dfb/_shareable_8h.htmlClick here to see

dcrud documentation site的根目录浏览的同一个页面是http://aubinmahe.github.io/doxygen/html/dd/dfb/_shareable_8h.htmlClick here to see

相同的路径但是... 404!为什么?为什么是这个页面而不是其他页面?

【问题讨论】:

    标签: html git github doxygen


    【解决方案1】:

    I've found an answer...

    缺少以下划线开头的文件

    默认情况下,Jekyll 不会构建任何文件或目录

    are hidden or used for backup
    (indicated by names that start with . or #, or that end with ~);
    contain site content (indicated by names that start with _); or
    are excluded in the site configuration.
    

    要解决此问题,您可以

    include a .nojekyll file in the root path to turn off Jekyll;
    use the include directive in your _config.yml to specify files that
    should not be ignored; or
    do not use file or directory names that start with an underscore (_),
    period (.), or hash symbol (#), or that end with a tilde (~).
    

    【讨论】:

    • 是的,这个答案的第二部分详细说明了它。
    • 抱歉浪费您的时间。我没看到。
    • 有关使用 include 指令启用下划线的方法,请参见此处:stackoverflow.com/a/66573634/1163786
    猜你喜欢
    • 1970-01-01
    • 2019-09-29
    • 2023-01-24
    • 1970-01-01
    • 2019-01-01
    • 2015-07-28
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多