Format docstrings to be rst compatible