Replace autodoc
with autoapi
when generating Python docs via cmake
#2077
Labels
autodoc
with autoapi
when generating Python docs via cmake
#2077
We use
autoapi
inreadthedocs
because it can parse code directly (code generated by swig) to access doc strings. The benefit is that we don't need to do a full build of the library to create working libdnf5 Python module which is required byautodoc
to get doc strings.We couldn't use
autoapi
in our regular cmake builds because it was not packaged in fedora (this was not a problem because regular builds have access to the full working Python module and can useautodoc
) butautoapi
is present since F41 inpython-sphinx-autoapi
package.It would be nice to unify the workflows and simplify code by using only
autoapi
.There should be no change in functionality.
The text was updated successfully, but these errors were encountered: