We need to generate API documentation in our sphinx documentation. For this we need to add the appropriate docstrings to the API too.