format docstrings for parameters for Sphinx