docstring formatting for Sphinx based docs