docs.js
authorAlan Knowles <alan@akkbhome.com>
Tue, 22 Jun 2010 14:37:19 +0000 (22:37 +0800)
committerAlan Knowles <alan@akkbhome.com>
Tue, 22 Jun 2010 14:37:19 +0000 (22:37 +0800)
docs.js

diff --git a/docs.js b/docs.js
index 88c56c8..884f0df 100644 (file)
--- a/docs.js
+++ b/docs.js
@@ -84,11 +84,14 @@ ns_list.forEach(function(ns_name)
     
     ns['left_bar'] = cls_ix_template.process(ns);
 
-    // namespace template
-    Gio.simple_write(outputdir + '/'+ ns_name +  '.html', cls_template.process(ns));
-    
-    // left bar index of elements in namespace...
-    Gio.simple_write(outputdir + '/_ix_'+ ns_name +  '.shtml', cls_ix_template.process(ns));
+    langs.forEach(function(lang) {
+        // namespace template
+        Gio.simple_write(outputdir + '/'+ ns_name +  '.html', lang.cls_template.process(ns));
+        
+        // left bar index of elements in namespace...
+        Gio.simple_write(outputdir + '/_ix_'+ ns_name +  '.shtml', lang.cls_ix_template.process(ns));
+            
+    });
      
     
     var actions = {