jsdoc is no longer used in other Web repos such as MobileFrontend (see T138401). Migrate the existing Vector JavaScript docs to JSDoc.
Acceptance criteria
- Translate the existing jsduck configuration as wanted into a new JSDoc configuration file. See MobileFrontend and the official documentation for reference. Sharing the same configuration among projects would be nice but is out of scope for this task!
- Revise the NPM package.json file to use JSDoc not jsduck. Given a JavaScript file with a valid JSDoc comment, npm -s run jsdoc generates documentation in docs/. See MobileFrontend for an example script and update to .gitignore.
- There's not much JavaScript in Vector but any existing jsduck documentation should be revised to JSDocs. An effort to accurately type inputs and outputs would be a helpful improvement but is not a requirement for completion of this task.
- Add Vector documentation to doc.wikimedia.org so everyone can participate. See the MobileFrontend configuration for an example.
- jsduck is entirely scrubbed from the repo (includes rg jsduck and all jsduck-syntax, package dependencies, etc).
- Use jsdoc-wmf-theme
QA
- Ensure Vector docs show up on https://doc.wikimedia.org/ and are being updated with each commit merged.