Port docstrings to Sphinx syntax