diff --git a/config/jsdoc/api/template/publish.js b/config/jsdoc/api/template/publish.js index cec1de96bd..b7e37e11cd 100644 --- a/config/jsdoc/api/template/publish.js +++ b/config/jsdoc/api/template/publish.js @@ -222,6 +222,10 @@ function buildNav(members) { type: 'module', longname: v.longname, name: v.name, + classes: find({ + kind: 'class', + memberof: v.longname + }), members: find({ kind: 'member', memberof: v.longname @@ -240,30 +244,6 @@ function buildNav(members) { }) }); } - if (v.kind == 'class') { - nav.push({ - type: 'class', - longname: v.longname, - name: v.name, - members: find({ - kind: 'member', - memberof: v.longname - }), - methods: find({ - kind: 'function', - memberof: v.longname - }), - typedefs: find({ - kind: 'typedef', - memberof: v.longname - }), - fires: v.fires, - events: find({ - kind: 'event', - memberof: v.longname - }) - }); - } } }); return nav; diff --git a/config/jsdoc/api/template/tmpl/navigation.tmpl b/config/jsdoc/api/template/tmpl/navigation.tmpl index cfa91d196a..08c1df4a91 100644 --- a/config/jsdoc/api/template/tmpl/navigation.tmpl +++ b/config/jsdoc/api/template/tmpl/navigation.tmpl @@ -22,6 +22,20 @@ function toShortName(name) { +