开发者

github links to project files

I have a project hosted at github. Inside the project there are various html files for the documentation. Is it possible to link these files somewhere? It is not possible to use the links to the raw files since the mime type is text/plain such that browsers will not show them correctly.

I have also tried to github pages but I do not know how I create link to the html files. Any开发者_运维技巧 ideas?


I think this question is addressing the same issue. Basically, you create a gh-pages branch, move your documentation into that branch, and then re-add the documentation to the main project as a submodule.

The submodule step is only necessary if you need to have your documentation files available in your main branch.

Update: Since you're dealing with generated documentation, the process outlined in the answer to this question might be a better fit. If your documentation generation process isn't configurable to output to multiple places, you may have to add a post-build event to copy the docs from one directory to another.


One possibility is you could load them in with AJAX and then print them out as HTML using jQuery.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜