The redocstring extension parses the function and class docstrings as they are retrieved by the autodoc extension and converts the section blocks into sphinx friendly rst. The extension shares similarities with alternatives (such as numpydoc) but aims at reflecting the original form of the docstring.