Need to update the RTD config to install the project so the build process can find the modules and generate API reference content correctly.
Also makes some changes to improve usage of the sphinxcontrib.apidoc extension. We can drop the apidoc command and put those settings in conf.py and use the glob directive in the API reference index, which is a little nicer than the generated modules TOC imo.
This PR fixes the empty content in https://ansible-sdk.readthedocs.io/en/latest/api.html
Need to update the RTD config to install the project so the build process can find the modules and generate API reference content correctly.
Also makes some changes to improve usage of the
sphinxcontrib.apidoc
extension. We can drop the apidoc command and put those settings inconf.py
and use theglob
directive in the API reference index, which is a little nicer than the generated modules TOC imo.