I find a template https://github.com/nijikokun/minami/blob/master/publish.js#L298-L333 , where they create a sub list of methods for each class, as the reference.
Say, if we want to list all the functions under every namespace in the nav bar, we can have the following code to add the related html
var methods = find({kind:'function', memberof: item.longname});
item
here in our case, is member.namespace
if (methods.length) {
itemsNav += "<ul class='methods'>";
methods.forEach(function (method) {
itemsNav += "<li data-type='method'>";
itemsNav += linkto(method.longname, method.name);
itemsNav += "</li>";
});
itemsNav += "</ul>";
}