diff --git a/config/jsdoc/api/plugins/api.js b/config/jsdoc/api/plugins/api.js index 248e7c0d52..fae15e465b 100644 --- a/config/jsdoc/api/plugins/api.js +++ b/config/jsdoc/api/plugins/api.js @@ -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; + } } }