Have you tried Gitbook? (https://www.gitbook.io/ https://news.ycombinator.com/item?id=7524956)
If I understand correctly, the gitbook toolchain isn't freely available. Nor does gitbook address any of the limitations of Markdown that prompted me to switch to Asciidoc.
Re:Pro Git, 2nd Edition
by steveklabnik on Sunday October 26, 2014 @04:04PM
(#8512158)
20% per transaction is just too much.
[1] Python for the busy Java Developer. http://antrix.net/py4java