format docstrings