It would be far easier for the average user to contribute if they didn't have to leave the Discourse workflow to create & edit Docs articles. What if a Discourse-to-GitHub (i.e. to our learndiscourse repo) integration made it possible for Discourse users to contribute to Docs without ever leaving the forum?
From what I can tell, basically you'd need an app that's got API keys for both meta.discourse.org as well as GitHub. This app would:
- Use the Discourse API to listen for changes (new topics or edits) in the How-to category
- Once a change is made, it grabs raw contents of that post and...
- Use the GitHub Git Data API to make a commit to the appropriate file on a dedicated repository.
Is that about it or did I miss anything critical?
It would be far easier for the average user to contribute if they didn't have to leave the Discourse workflow to create & edit Docs articles. What if a Discourse-to-GitHub (i.e. to our learndiscourse repo) integration made it possible for Discourse users to contribute to Docs without ever leaving the forum?
From what I can tell, basically you'd need an app that's got API keys for both meta.discourse.org as well as GitHub. This app would:
Is that about it or did I miss anything critical?