Publishr is a Kindle/Ebook/Web publishing platform which marries Markdown, Latex, and Git repositories to manage large text projects and allows for one-click creation of high quality .epub, .mobi and .pdf files.
Please see the full documentation at http://documentation.thebigrede.net/publishr.
Publishr is a web based front-end for the Open Source Ruby Gem publishr, also authored by Red (E) Tools Ltd, which makes extensive use of the excellent Ruby Gems kramdown, webgen as well as the typesetting system LaTex.
Static, multi-language webpage generation:
The Publishr web based front end is currently not open source. However, we will be happy if you send us a request for the source code.