本文介绍了找不到GitHub Pages(github.io)doxygen生成的页面(404)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

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

I don't understand why a page generated by doxygen can't be found (404).

其在Github存储库中的路径为 https://github.com/AubinMahe/AubinMahe.github.io/blob/master/doxygen/html/dd/dfb/_shareable_8h.html

Its path in the Github repository is https://github.com/AubinMahe/AubinMahe.github.io/blob/master/doxygen/html/dd/dfb/_shareable_8h.html Click here to see

从的根目录浏览的同一页面是 http://aubinmahe.github.io/doxygen/html/dd/dfb/_shareable_8h.html

The same page browsed from the root of dcrud documentation site is http://aubinmahe.github.io/doxygen/html/dd/dfb/_shareable_8h.html Click here to see

相同的路径,但是... 404!为什么?为什么选择此页面而不选择其他页面?

The same path but... 404! Why? Why this page and not the others?

推荐答案

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

By default, Jekyll does not build any files or directories that

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 (~).


这篇关于找不到GitHub Pages(github.io)doxygen生成的页面(404)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

07-24 03:45