ni_nitdoc: filtered imported init
[nit.git] / src / ni_nitdoc.nit
index cb0eef3..00987c2 100644 (file)
@@ -787,6 +787,7 @@ class NitdocClass
                        append("<h4>Constructors</h4>")
                        append("<ul>")
                        for mprop in cts do
+                               if mprop.mproperty.name == "init" and mprop.mclassdef.mclass != mclass then continue
                                mprop.html_sidebar_item(self)
                        end
                        append("</ul>")