Avoid duplicates in api docs

This commit is contained in:
ahocevar
2019-06-17 08:15:17 +02:00
parent edebf35135
commit 4ea28333f8

View File

@@ -59,7 +59,9 @@ function includeAugments(doclet) {
});
}
cls._hideConstructor = true;
delete cls.undocumented;
if (!cls.undocumented) {
cls._documented = true;
}
}
}
}
@@ -150,6 +152,9 @@ exports.handlers = {
// Remove all other undocumented symbols
doclet.undocumented = true;
}
if (doclet._documented) {
delete doclet.undocumented;
}
}
}