Merge branch 'master' into live
authorAlan Knowles <alan@akbkhome.com>
Fri, 30 Apr 2010 02:31:01 +0000 (10:31 +0800)
committerAlan Knowles <alan@akbkhome.com>
Fri, 30 Apr 2010 02:31:01 +0000 (10:31 +0800)
docs.js
docs/index.html
docs/resources/default.css

diff --git a/docs.js b/docs.js
index 9755ebe..cc82686 100644 (file)
--- 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(
index 0a852cf..b411cc1 100755 (executable)
@@ -9,38 +9,44 @@
  </head>
  
  <body>
-<div id="page">
-
-       <div id="header">
-    <div id="header-wrap">
-      <h1>Un-official Seed Documentation</h1>
-    </div>
-       </div>
+     
+    <div id="page">
 
- <h2>GObject Libraries</h2>
-  <for each="thisClass" in="data">
-    {!
-    if (!thisClass.objects) { continue; }
-    !}
-    <div>
-       <h2 class="classTitle">{+ (new Link().toSymbol(thisClass.name)) +}</h2>
+        <div id="header">
+            <div id="header-wrap">
+                <h1>Un-official Seed Documentation</h1>
+            </div>
+        </div>
+        <div class="body-wrap">
+                
+            <div class="ns-list">
+                <h2>GObject Libraries</h2>
+                <for each="thisClass" in="data">
+                    {!
+                    if (!thisClass.objects) { continue; }
+                    !}
+                    <div>
+                        <h2 class="classTitle">{+ (new Link().toSymbol(thisClass.name)) +}</h2>
+                    </div>
+                </for>
+            </div>
+            
+            <div class="ns-list">
+     
+                <h2>Non - GObject Libraries</h2>
+                <for each="thisClass" in="data">
+                    {!
+                    if (thisClass.objects) { continue; }
+                    !}
+                    <div>
+                        <h2 class="classTitle">{+ (new Link().toSymbol(thisClass.name)) +}</h2>
+                    </div>
+                </for>
+            </div> 
+     
+        </div>
     </div>
-  </for>
- <h2>Non - GObject Libraries</h2>
-  <for each="thisClass" in="data">
-    {!
-    if (thisClass.objects) { continue; }
-    !}
-    <div>
-       <h2 class="classTitle">{+ (new Link().toSymbol(thisClass.name)) +}</h2>
-    </div>
-  </for>
-</div>
- </body>
- </html>
+</body>
+</html>
 
        
index 3ccdc37..5935d5d 100755 (executable)
@@ -510,4 +510,10 @@ td.msource
        margin:5px;
        padding:5px;
        width:18%;
+}
+.ns-list {
+        
+    display:block;
+    float:left;
+    margin:30px;
 }
\ No newline at end of file