Bug#894214: python-debian: Build API documentation

Stuart Prescott stuart at debian.org
Tue Mar 27 12:44:35 UTC 2018

Source: python-debian
Version: 0.1.32
Severity: wishlist
Tags: patch

Now that python-debian is hosted on salsa, we can do things like run tests
automatically. It's also feasible to build API documentation with sphinx
automatically and for that documentation to be hosted on pages.debian.net.

I've experimented with each of these and created the following work-in-progress
branch to to see what is possible:


and the genearted documentation can be found at


(once merged, that URL would change and would be included in the README file)


The docstrings aren't great in a lot of places which limits the use of the
API docs without looking at the code too, but we can aim for continuous
improvement in that regard. The autodoc API documentation needs to learn not
to pick up some private members that are uninteresting while we need to keep
others present since they are base classes and the only documentation for some
subclasses is within those base classes. The input of those with more sphinx
experience would be great about now!

Is it worth putting these files into a new python-debian-doc binary package?


More information about the pkg-python-debian-maint mailing list