X-Git-Url: http://git.roojs.org/?p=gnome.introspection-doc-generator;a=blobdiff_plain;f=docs.js;h=cc826868eca7bd3f5c31074b9cd0fd17d5d9fa40;hp=9755ebe76869bd791206f21af5d597792894dd74;hb=12ad9db7e21ea83f39ce2affdba602de3e88ce30;hpb=8b882e6abb3281639eea6cb3850054af2550f6ce diff --git a/docs.js b/docs.js index 9755ebe..cc82686 100644 --- a/docs.js +++ b/docs.js @@ -67,7 +67,8 @@ ns_list.map(function(ns_name) }; for (var i in actions) { - idx[i]= ns[i].length; + // we flag GLib as a GObject lib... + idx[i]= ns_name == 'GLib' ? 1 : ns[i].length ; ns[i].map( function(n) { Gio.simple_write(outputdir + '/'+ ns_name + '.' + n + '.html', cls_template.process(