How to Self-Publish a Novel in 2017 | https://news.ycombinator.com/item?id=13743908 (Feb 2017, 163 comments)
How I Made $70k Self-Publishing a Book about Ruby on Rails | https://news.ycombinator.com/item?id=13876514 (Mar 2017, 175 comments)
It's subscription based, $39.99/year, which unlocks is for both Mac and iOS. It's got sync built-in, which is nice for needed to make corrections or updates on the go or to record ideas when I'm out and only have my phone.
There are several ways to write your ebook: For instance, I have written mine simply by using markdown, uploading it to GitHub  and giving Leanpub access to it as collaborator. That way Leanpub is able to pull the recent manuscript from your repository for a new release or generating a preview. In addition, hosting the manuscript on a public GitHub repository (in case your ebook is open source), gives you the ability to make use of collaborating with others on it. Highly recommended platform!
-  https://leanpub.com/the-road-to-learn-react
-  https://github.com/rwieruch/the-road-to-learn-react