简体   繁体   English

为什么我的 github 站点只显示 README 文件?

[英]Why my github site only show README file?

I learn to make a simple website using RMarkdown and GitHub and made basic files like _site.yml;我学习使用 RMarkdown 和 GitHub 制作一个简单的网站,并制作了像 _site.yml 这样的基本文件; index.Rmd;索引.Rmd; and about.Rmd;以及关于.Rmd;

However, my site only show README.md instead of index.html.但是,我的网站只显示 README.md 而不是 index.html。

Can somebody help me to check it?有人可以帮我检查一下吗?

https://github.com/isaid-hi/isaid-hi.github.io https://github.com/isaid-hi/isaid-hi.github.io

http://www.isaid-hi.xyz/ http://www.isaid-hi.xyz/

I don't know, I can't find gh-pages branch in the setting.我不知道,我在设置中找不到 gh-pages 分支。 Only main branch.只有主分支。

Then you need to double-check your publication source setting in order to select a folder (in your case _site ) for your publishing source.然后,您需要仔细检查您的发布源设置,以便 select 为您的发布源创建一个文件夹(在您的情况下为_site )。

https://docs.github.com/assets/images/help/pages/publishing-source-folder-drop-down.png

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM