开发者

Update a GitHub project wiki through the GitHub API

开发者 https://www.devze.com 2022-12-22 01:52 出处:网络
Is there a way a developer can automatically upload Doxygen documentation for his project hosted on GitHub through their API?

Is there a way a developer can automatically upload Doxygen documentation for his project hosted on GitHub through their API?

I didn't find anything on develop.github.com related to this. It would be nice if one could just SCP the开发者_运维百科 files or something.


It's now possible to check out the wiki as a separate Git repository. You could clone the repository, add the pages to it, and push it. You can clone the repository from this URL:

git@github.com:user/project.wiki.git


There is no way, at this time, to access the GitHub wiki via the API. However, there is a much better solution already built into GitHub. Since Doxygen outputs static HTML pages, you can push them to the gh-pages branch of your project and access them at username.github.com/projectname

For more information, http://pages.github.com/.

0

精彩评论

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

关注公众号