[API] Include JSDoc for mct namespace only

This commit is contained in:
Victor Woeltjen
2016-08-26 11:48:27 -07:00
parent 0f96fbdd62
commit 1d4f36a7d9
2 changed files with 19 additions and 3 deletions

View File

@ -0,0 +1,15 @@
module.exports = {
handlers: {
newDoclet: function (e) {
var doclet = e.doclet;
var memberof = doclet.memberof || "";
var longname = doclet.longname || "";
if (longname !== 'mct' && memberof.indexOf('mct') !== 0) {
e.preventDefault = true;
e.stopPropagation = true;
doclet.ignore = true;
}
}
}
};

View File

@ -1,12 +1,13 @@
{
"source": {
"include": [
"platform/"
"src/"
],
"includePattern": "platform/.+\\.js$",
"includePattern": "src/.+\\.js$",
"excludePattern": ".+\\Spec\\.js$|lib/.+"
},
"plugins": [
"plugins/markdown"
"plugins/markdown",
"build/jsdoc/plugins/mct-only"
]
}