diff --git a/jaguarjs-jsdoc/publish.js b/jaguarjs-jsdoc/publish.js index cbbd24b..4ef96da 100644 --- a/jaguarjs-jsdoc/publish.js +++ b/jaguarjs-jsdoc/publish.js @@ -255,6 +255,30 @@ function buildNav(members) { }); } + if (members.globals.length) { + nav.push({ + type: 'namespace', + longname: "global", + name: "global", + members: find({ + kind: 'member', + scope: "global" + }), + methods: find({ + kind: 'function', + scope: "global" + }), + typedefs: find({ + kind: 'typedef', + scope: "global" + }), + events: find({ + kind: 'event', + scope: "global" + }) + }); + } + return nav; }