Lui*_*ano 28 markdown github documentation-generation github-pages
我正在使用GitHub页面的"自动生成器",我发现它只生成一个index.html和其他Web资源.
如果我想从其他降价文件生成多页网站,它是如何工作的?
小智 22
您可以通过确保.markdown的顶部以----块开头,让github从.markdown文件生成.html文件:
---
title: This will be used as the title-tag of the page head
---
hello
=====
**You are here!**
Run Code Online (Sandbox Code Playgroud)
在这里找到:http: //xlson.com/2010/11/09/getting-started-with-github-pages.html
小智 13
如果您包含markdown文件,Github将自动为您创建页面.
yourname.github.io/project-name/yourname.github.io/project-name/aboutyourname.github.io/project-name/foo经过测试并正常工作.
如果你想进入真正有趣的东西 - 你需要进入Jekyll http://jekyllrb.com/
您拉取生成的页面,进行任何您喜欢的修改和添加(包括添加新页面和页面之间的链接),然后提交并推送。
生成的单页可以帮助您开始。您可以复制其布局以手动生成其他外观相似的页面。
请参阅帮助。
| 归档时间: |
|
| 查看次数: |
20411 次 |
| 最近记录: |