Problem
I am using sphinx.ext.autosummary
for my python package. The problem is that .. autosummary::
adds .. automethod:: __init__
at all times, even if undocumented.
In the mean time I have found various ways to include it a third time (as a special member) or included it in the methods; but not how I can get rid of .. automethod:: __init__
.
As shown this simply duplicates the class specification above and has no use at all. I could, of course, create all *.rst
s by hand but that is not an option and would make autosummary somewhat obsolete. In addition it creates warnings due to duplicate object description
(__init__
is in methods as well which is fine).
System
python 3.8.5
sphinx-build 4.0.2
(w/ bootstrap theme)
Does anyone have the golden hint I am searching for since hours? :)
Thanks a lot in advance!