Partial conversion to Sphinx syntax for docstrings