mediawiki-extensions-Cite/jsdoc.json
Adam Wight d03d2d8d20 [refactor] switch reflist rendering source of truth
Pure refactor which shouldn't change output in production.  Switches
to interfacing with MWDocumentReferences to get refs in index order.
Temporarily suppresses any subrefs, we only show top-level refs.

Bug: T247921
Change-Id: I9c8347b064173027f436722c87e15e0381c958bd
2024-07-02 11:20:16 +02:00

49 lines
1.7 KiB
JSON

{
"opts": {
"destination": "docs/js",
"pedantic": true,
"recurse": true,
"template": "node_modules/jsdoc-wmf-theme"
},
"plugins": [
"node_modules/jsdoc-wmf-theme/plugins/allow-dots-in-modules",
"plugins/markdown",
"node_modules/jsdoc-wmf-theme/plugins/externals",
"node_modules/jsdoc-wmf-theme/plugins/summarize",
"node_modules/jsdoc-wmf-theme/plugins/betterlinks"
],
"source": {
"include": [ "modules", "package.json", "README.md" ]
},
"templates": {
"cleverLinks": true,
"default": {
"useLongnameInNav": true
},
"wmf": {
"repository": "https://gerrit.wikimedia.org/g/mediawiki/extensions/Cite/",
"prefixMap": {
"OO.ui.": "https://doc.wikimedia.org/oojs-ui/master/js/{type}.html",
"OO.": "https://doc.wikimedia.org/oojs/master/{type}.html",
"ve.": "https://doc.wikimedia.org/visualeditor-standalone/master/{type}.html",
"mw.": "https://doc.wikimedia.org/mediawiki-core/master/js/{type}.html"
},
"prefixMapIgnore": [
"ve.dm.MWDocumentReferences",
"ve.dm.MWReference",
"ve.ce.MWReference",
"ve.ui.MWReference"
],
"linkMap": {
"ext.popups.Preview": "https://doc.wikimedia.org/Popups/master/js/js/Popups/module-preview.html",
"ext.popups.PreviewModel": "https://doc.wikimedia.org/Popups/master/js/js/Popups/module-preview_model.html",
"Gateway": "https://doc.wikimedia.org/Popups/master/js/js/Popups/module-gateway.html",
"HTMLAnchorElement": "https://developer.mozilla.org/en-US/docs/Web/API/HTMLAnchorElement",
"HTMLElement": "https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement",
"jQuery": "https://api.jquery.com/Types/#jQuery",
"jQuery.Event": "https://api.jquery.com/category/events/event-object/"
}
}
}
}