Now a function in the docs/conf.py is used to generate rst file for the api documentation. See https://github.com/NLeSC/python-template/blob/55129e224e7820840958367b2757ca410ccf875a/%7B%7Bcookiecutter.project_slug%7D%7D/docs/conf.py#L86 There is a Spinhx extension called https://github.com/sphinx-contrib/apidoc which can do this with configuration instead of code.
Activity
fdiblen commentedon May 7, 2021
We used sphinx-autoapi extension which is also used+made by ReadTheDocs developers.
done in #287