20

I've used GitHub pages to generate a beautiful website for my project (this one). Now I want to keep the documentation of my project up to date, and having everything in a single README.md file is probably not scalable to the many features we are adding.

So, I thought that the best place to keep the documentation is the GitHub wiki, but I'd like to integrate the wiki to the gh-pages generated site, keeping the beautiful layout.

How would I take the GitHub wiki and generate an HTML web site with a customizable layout?

4

2 回答 2

7

以下是 wiki 的示例 URL:

https://github.com/golang/go/wiki

在同一页面上,您会找到一个克隆链接:

https://github.com/golang/go.wiki.git

然后通过Hugo运行 Markdown 文件,甚至基于 Wiki 创建一个新的存储库到主机站点。

于 2013-05-26T05:40:16.603 回答
2

您可以将您的 wiki 包含为subtree.

顺便说一句,GitHub Pages 现在不再需要gh-pages分支。创建一个名为your-user-name.github.io; 它将自动生成到网站。有关更多详细信息,请参阅GitHub 页面

于 2014-12-10T07:22:46.680 回答