Sphinx

I configured sphinx and fixed warnings that were caused by bad docstrings.