Initially, Sphinx was designed to generate Python documentation. But, it can also be used for many things. I am currently using it to write my own book @eclipsebook.in. The advantage for me is that I can write my book in reStructuredText and can generate different formats with ease.
Here is an insight how I am tweaking/using sphinx.