We could probably write our docstrings in NumPy format: https://github.com/numpy/numpy/blob/master/doc/HOWTO_DOCUMENT.rst.txt Probably the numpydoc extension for Sphinx could be used: https://github.com/numpy/numpydoc