* Move configuration to /jsduck.json per standard. This way it can be run as plain '$ jsduck' without needing a maintenance script or custom Jenkins job. Similar to JSHint, JSCS, Grunt, and Gem etc. * Move --processes=0 from maintenace script into config file. This should've been in the config file all along and serves as workaround for https://github.com/senchalabs/jsduck/issues/525. * Use grunt-contrib-copy instead of a symlink for resources. For local development a symlink works fine, but for publishing from Jenkins to doc.wikimedia.org the /docs/js/ directory needs to be standalone. This was previously done with a manual post-build step that added an additional rsync, but this logic should be in the repository so that the doc entry point can be simplified and standardised to 'npm run-script doc' for all projects. Change-Id: Iaaaac50ee78dd9ff8f24f1ef3a3685ad51cf33b2
41 lines
1.5 KiB
JSON
41 lines
1.5 KiB
JSON
{
|
|
"--title": "MediaWiki core - Documentation",
|
|
"--categories": "maintenance/jsduck/categories.json",
|
|
"--eg-iframe": "maintenance/jsduck/eg-iframe.html",
|
|
"--tags": "maintenance/jsduck/CustomTags.rb",
|
|
"--warnings": ["-nodoc(class,public)"],
|
|
"--builtin-classes": true,
|
|
"--processes": "0",
|
|
"--warnings-exit-nonzero": true,
|
|
"--external": "HTMLElement,HTMLDocument,Window,File,MouseEvent,KeyboardEvent",
|
|
"--output": "docs/js",
|
|
"--": [
|
|
"maintenance/jsduck/external.js",
|
|
"resources/src/mediawiki",
|
|
"resources/src/mediawiki.action",
|
|
"resources/src/mediawiki.api",
|
|
"resources/src/mediawiki.language",
|
|
"resources/src/mediawiki.page",
|
|
"resources/src/mediawiki.special",
|
|
"resources/src/mediawiki.toolbar",
|
|
"resources/src/jquery/jquery.accessKeyLabel.js",
|
|
"resources/src/jquery/jquery.arrowSteps.js",
|
|
"resources/src/jquery/jquery.autoEllipsis.js",
|
|
"resources/src/jquery/jquery.badge.js",
|
|
"resources/src/jquery/jquery.byteLength.js",
|
|
"resources/src/jquery/jquery.byteLimit.js",
|
|
"resources/src/jquery/jquery.checkboxShiftClick.js",
|
|
"resources/src/jquery/jquery.client.js",
|
|
"resources/src/jquery/jquery.colorUtil.js",
|
|
"resources/src/jquery/jquery.confirmable.js",
|
|
"resources/src/jquery/jquery.footHovzer.js",
|
|
"resources/src/jquery/jquery.getAttrs.js",
|
|
"resources/src/jquery/jquery.hidpi.js",
|
|
"resources/src/jquery/jquery.localize.js",
|
|
"resources/src/jquery/jquery.makeCollapsible.js",
|
|
"resources/src/jquery/jquery.spinner.js",
|
|
"resources/src/jquery/jquery.tabIndex.js",
|
|
"resources/lib/oojs",
|
|
"resources/lib/oojs-ui"
|
|
]
|
|
}
|