Generating Pages from JSON

Hi, I’m looking to write an addon that essentially will generate pages from JSON; that is - I will be pulling in data from the GitHub API and translating the results into pages.

I was hoping there would be some good documentation or preferably even a small project I could work off as an example which illustrates how one would programmatically create a page in MiddleMan.

Any pointers would be much appreciated, thanks!

Have you seen the documentation for dynamic pages? https://middlemanapp.com/advanced/dynamic_pages/

Oh wow, that is amazingly simple. I had not expected such an (otherwise considered) advanced feature to be in the main documentation as a natively supported feature… awesome!

Would this work with other extensions as well? eg. Pagination and sitemap.