Amend docstring format for sphinx documentation
Add sphinx documentation