JSDoc: Use externals plugin

Change-Id: Id492d96318cb4b5c7abe99b81d077b3a5409bf3f
This commit is contained in:
Ed Sanders 2024-06-10 16:02:37 +01:00
parent 816be81d59
commit e32df234c0

View file

@ -16,6 +16,7 @@
"plugins/markdown",
"node_modules/jsdoc-wmf-theme/plugins/allow-dots-in-modules",
"node_modules/jsdoc-wmf-theme/plugins/betterlinks",
"node_modules/jsdoc-wmf-theme/plugins/externals",
"node_modules/jsdoc-wmf-theme/plugins/summarize",
"node_modules/jsdoc-class-hierarchy"
],
@ -30,9 +31,15 @@
"wmf": {
"maintitle": "Echo",
"repository": "https://gerrit.wikimedia.org/g/mediawiki/extensions/Echo/",
"prefixMap": {
"OO.ui.": "https://doc.wikimedia.org/oojs-ui/master/js/{type}.html",
"OO.": "https://doc.wikimedia.org/oojs/master/{type}.html",
"mw.": "https://doc.wikimedia.org/mediawiki-core/master/js/{type}.html"
},
"prefixMapIgnore": [
"mw.echo."
],
"linkMap": {
"Mixed": "#",
"Array": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array",
"Error": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Error",
"Object": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object",
@ -54,44 +61,6 @@
"Range": "https://developer.mozilla.org/en-US/docs/Web/API/Range",
"Selection": "https://developer.mozilla.org/en-US/docs/Web/API/Selection",
"mw.Api": "https://doc.wikimedia.org/mediawiki-core/master/js/mw.Api.html",
"OO.EmitterList": "https://doc.wikimedia.org/oojs/master/OO.EmitterList.html",
"OO.EventEmitter": "https://doc.wikimedia.org/oojs/master/OO.EventEmitter.html",
"OO.Factory": "https://doc.wikimedia.org/oojs/master/OO.Factory.html",
"OO.Registry": "https://doc.wikimedia.org/oojs/master/OO.Registry.html",
"OO.SortedEmitterList": "https://doc.wikimedia.org/oojs/master/OO.SortedEmitterList.html",
"OO.ui.mixin.GroupElement": "https://doc.wikimedia.org/oojs-ui/master/js/OO.ui.mixin.GroupElement.html",
"OO.ui.mixin.IconElement": "https://doc.wikimedia.org/oojs-ui/master/js/OO.ui.mixin.IconElement.html",
"OO.ui.mixin.LabelElement": "https://doc.wikimedia.org/oojs-ui/master/js/OO.ui.mixin.LabelElement.html",
"OO.ui.mixin.PendingElement": "https://doc.wikimedia.org/oojs-ui/master/js/OO.ui.mixin.PendingElement.html",
"OO.ui.mixin.TitledElement": "https://doc.wikimedia.org/oojs-ui/master/js/OO.ui.mixin.TitledElement.html",
"OO.ui.BookletLayout": "https://doc.wikimedia.org/oojs-ui/master/js/OO.ui.BookletLayout.html",
"OO.ui.ButtonOptionWidget": "https://doc.wikimedia.org/oojs-ui/master/js/OO.ui.ButtonOptionWidget.html",
"OO.ui.ButtonSelectWidget": "https://doc.wikimedia.org/oojs-ui/master/js/OO.ui.ButtonSelectWidget.html",
"OO.ui.ButtonWidget": "https://doc.wikimedia.org/oojs-ui/master/js/OO.ui.ButtonWidget.html",
"OO.ui.DecoratedOptionWidget": "https://doc.wikimedia.org/oojs-ui/master/js/OO.ui.DecoratedOptionWidget.html",
"OO.ui.Dialog": "https://doc.wikimedia.org/oojs-ui/master/js/OO.ui.Dialog.html",
"OO.ui.Element": "https://doc.wikimedia.org/oojs-ui/master/js/OO.ui.Element.html",
"OO.ui.HtmlSnippet": "https://doc.wikimedia.org/oojs-ui/master/js/OO.ui.HtmlSnippet.html",
"OO.ui.MenuOptionWidget": "https://doc.wikimedia.org/oojs-ui/master/js/OO.ui.MenuOptionWidget.html",
"OO.ui.MenuSelectWidget": "https://doc.wikimedia.org/oojs-ui/master/js/OO.ui.MenuSelectWidget.html",
"OO.ui.MessageDialog": "https://doc.wikimedia.org/oojs-ui/master/js/OO.ui.MessageDialog.html",
"OO.ui.MultilineTextInputWidget": "https://doc.wikimedia.org/oojs-ui/master/js/OO.ui.MultilineTextInputWidget.html",
"OO.ui.NumberInputWidget": "https://doc.wikimedia.org/oojs-ui/master/js/OO.ui.NumberInputWidget.html",
"OO.ui.OptionWidget": "https://doc.wikimedia.org/oojs-ui/master/js/OO.ui.OptionWidget.html",
"OO.ui.PageLayout": "https://doc.wikimedia.org/oojs-ui/master/js/OO.ui.PageLayout.html",
"OO.ui.PopupTool": "https://doc.wikimedia.org/oojs-ui/master/js/OO.ui.PopupTool.html",
"OO.ui.Process": "https://doc.wikimedia.org/oojs-ui/master/js/OO.ui.Process.html",
"OO.ui.ProcessDialog": "https://doc.wikimedia.org/oojs-ui/master/js/OO.ui.ProcessDialog.html",
"OO.ui.SearchWidget": "https://doc.wikimedia.org/oojs-ui/master/js/OO.ui.SearchWidget.html",
"OO.ui.SelectWidget": "https://doc.wikimedia.org/oojs-ui/master/js/OO.ui.SelectWidget.html",
"OO.ui.TextInputWidget": "https://doc.wikimedia.org/oojs-ui/master/js/OO.ui.TextInputWidget.html",
"OO.ui.Widget": "https://doc.wikimedia.org/oojs-ui/master/js/OO.ui.Widget.html",
"OO.ui.Window": "https://doc.wikimedia.org/oojs-ui/master/js/OO.ui.Window.html",
"OO.ui.WindowManager": "https://doc.wikimedia.org/oojs-ui/master/js/OO.ui.WindowManager.html",
"jQuery": "http://api.jquery.com/",
"jQuery.Deferred": "http://api.jquery.com/jQuery.Deferred/",
"jQuery.Event": "http://api.jquery.com/Types/#Event",