From: Alan Knowles Date: Thu, 29 Apr 2010 23:28:33 +0000 (+0800) Subject: tidy up template X-Git-Url: http://git.roojs.org/?p=gnome.introspection-doc-generator;a=commitdiff_plain;h=12ad9db7e21ea83f39ce2affdba602de3e88ce30 tidy up template Last commit added beta changes to template .. - need to fix them up a bit --- 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( diff --git a/docs/index.html b/docs/index.html index 0a852cf..b411cc1 100755 --- a/docs/index.html +++ b/docs/index.html @@ -9,38 +9,44 @@ - -
- - + +
-

GObject Libraries

- - {! - if (!thisClass.objects) { continue; } - !} -
-

{+ (new Link().toSymbol(thisClass.name)) +}

+ +
+ +
+

GObject Libraries

+ + {! + if (!thisClass.objects) { continue; } + !} +
+

{+ (new Link().toSymbol(thisClass.name)) +}

+
+
+
+ +
+ +

Non - GObject Libraries

+ + {! + if (thisClass.objects) { continue; } + !} +
+

{+ (new Link().toSymbol(thisClass.name)) +}

+
+
+
+ +
-
- -

Non - GObject Libraries

- - {! - if (thisClass.objects) { continue; } - !} -
-

{+ (new Link().toSymbol(thisClass.name)) +}

-
-
- - -
- - + +