updated documentation to be more sphinx-friendly