From 12ad9db7e21ea83f39ce2affdba602de3e88ce30 Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Fri, 30 Apr 2010 07:28:33 +0800 Subject: [PATCH] tidy up template Last commit added beta changes to template .. - need to fix them up a bit --- docs.js | 3 ++- docs/index.html | 68 +++++++++++++++++++++++++++---------------------- 2 files changed, 39 insertions(+), 32 deletions(-) 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)) +}

-
-
- - -
- - + + -- 2.39.2