I've written a small rails app, and used this rake task[1], to scrape the site, and s3_website[2] to push the site to S3.
Many people have recommended middleman[3]. While middleman is more flexible than other static site platforms, it still expects text files.
[1] https://gist.github.com/Eunoia/15ded6c0dc0d80cb5e0f [2] https://github.com/laurilehmijoki/s3_website [3] https://middlemanapp.com/