For those interested, I recently found a tool that will convert Markdown files into an ebook. I used it for the Laravel docs, but you could use it for these books too. I'm sure there are other tools, but this was very simple to get going.
http://easybook-project.org/