Documentation based on pull comments

Posted June 28, 2016 2.2k views

Is it possible to populate documentation based on pull comments. Build like a wiki page style documentation.

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Submit an Answer
1 answer

This is not a question I’ve encountered before but this depends on a few things. If you are using GitHub for your repository it is possible to get a copy of these comments via the API. I am not aware of a solution that organizes these into any type of content management system but it would be possible to write a script that would pull these details from each pull request and then add them to a document or use another API to post them to a platform like MediaWiki or WordPress.

My searching led me to this page which provides some more information on using the GitHub API to gather this data.