hyperboreean
hyperboreean

Reputation: 8343

Update a GitHub project wiki through the GitHub 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.

Upvotes: 19

Views: 7038

Answers (2)

u2622
u2622

Reputation: 3011

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:

[email protected]:user/project.wiki.git

Upvotes: 18

Jake
Jake

Reputation: 725

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/.

Upvotes: 7

Related Questions