之前用 bookdown 写了个材料,放在了 github 上,网址:
github repo
按照 yihui 的说明,使用了第一种方式建立了 github pages:
One approach is to publish your book as a GitHub Pages site from a /docs folder on your master branch as described in GitHub Help. First, set the output directory of your book to be /docs by adding the line output_dir: "docs" to the configuration file _bookdown.yml. Then, after pushing your changes to GitHub, go to your repository’s settings and under “GitHub Pages” change the “Source” to be “master branch /docs folder”. In this case, the .nojekyll file has to be in the /docs folder.
上周还正常能访问 https://zhujiedong.github.io/photoanalysis/,今天更新了下联系电话,想看看是不是修改成功,突然发现网址访问不了了,然后访问 https://pages.github.com/ 也打不开,看了下 repo 的 Settings 里,github pages 也还在,设置也没改,为什么用不了了?不是 github 抽风吧,主站还能访问啊。