mirror of
https://github.com/nasa/openmct.git
synced 2024-12-24 07:16:39 +00:00
[API] Simplify JSDoc build
...since extraneous documentation no longer needs to be worked-around.
This commit is contained in:
parent
04b8326900
commit
0012ca48c1
@ -1,13 +0,0 @@
|
|||||||
module.exports = {
|
|
||||||
handlers: {
|
|
||||||
processingComplete: function (e) {
|
|
||||||
e.doclets.forEach(function (doclet) {
|
|
||||||
var memberof = doclet.memberof || "";
|
|
||||||
var longname = doclet.longname || "";
|
|
||||||
|
|
||||||
doclet.ignore = longname !== 'module:openmct' &&
|
|
||||||
memberof.indexOf('module:openmct') !== 0;
|
|
||||||
});
|
|
||||||
}
|
|
||||||
}
|
|
||||||
};
|
|
@ -7,7 +7,6 @@
|
|||||||
"excludePattern": ".+\\Spec\\.js$|lib/.+"
|
"excludePattern": ".+\\Spec\\.js$|lib/.+"
|
||||||
},
|
},
|
||||||
"plugins": [
|
"plugins": [
|
||||||
"plugins/markdown",
|
"plugins/markdown"
|
||||||
"build/jsdoc/plugins/mct-only"
|
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
@ -50,7 +50,7 @@
|
|||||||
"test": "karma start --single-run",
|
"test": "karma start --single-run",
|
||||||
"jshint": "jshint platform example",
|
"jshint": "jshint platform example",
|
||||||
"watch": "karma start",
|
"watch": "karma start",
|
||||||
"jsdoc": "jsdoc -c jsdoc.json -R API.md -r -d target/docs/api",
|
"jsdoc": "jsdoc -c jsdoc.json -R API.md -r -d dist/docs/api",
|
||||||
"otherdoc": "node docs/gendocs.js --in docs/src --out target/docs --suppress-toc 'docs/src/index.md|docs/src/process/index.md'",
|
"otherdoc": "node docs/gendocs.js --in docs/src --out target/docs --suppress-toc 'docs/src/index.md|docs/src/process/index.md'",
|
||||||
"docs": "npm run jsdoc ; npm run otherdoc",
|
"docs": "npm run jsdoc ; npm run otherdoc",
|
||||||
"prepublish": "node ./node_modules/bower/bin/bower install && node ./node_modules/gulp/bin/gulp.js install"
|
"prepublish": "node ./node_modules/bower/bin/bower install && node ./node_modules/gulp/bin/gulp.js install"
|
||||||
|
@ -1,15 +0,0 @@
|
|||||||
define([], function () {
|
|
||||||
// Adapts old-timey actions to the new-fangled way.
|
|
||||||
function AdaptedActionProvider(legacyActionService) {
|
|
||||||
this.legacyActionService = legacyActionService;
|
|
||||||
}
|
|
||||||
|
|
||||||
AdaptedActionProvider.prototype.get = function (context) {
|
|
||||||
var legacyContext = {};
|
|
||||||
|
|
||||||
legacyContext.domainObject =
|
|
||||||
|
|
||||||
};
|
|
||||||
|
|
||||||
return AdaptedActionProvider;
|
|
||||||
});
|
|
@ -26,6 +26,7 @@ define(['zepto'], function ($) {
|
|||||||
* @property {*} item
|
* @property {*} item
|
||||||
* @property {HTMLElement} element
|
* @property {HTMLElement} element
|
||||||
* @property {Context} parent the containing context (may be undefined)
|
* @property {Context} parent the containing context (may be undefined)
|
||||||
|
* @memberof module:openmct
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user