projects
/
gnome.introspection-doc-generator
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
f2c1fc2
)
docs.js
author
Alan Knowles
<alan@akbkhome.com>
Sun, 5 Sep 2010 14:43:50 +0000
(22:43 +0800)
committer
Alan Knowles
<alan@akbkhome.com>
Sun, 5 Sep 2010 14:43:50 +0000
(22:43 +0800)
docs.js
patch
|
blob
|
history
diff --git
a/docs.js
b/docs.js
index
a34e3ef
..
df43e06
100644
(file)
--- a/
docs.js
+++ b/
docs.js
@@
-42,7
+42,11
@@
if (typeof(Seed.argv[3]) == 'string') {
}
ns_list = ns_list.sort();
}
ns_list = ns_list.sort();
-
+// let's try and load them, so we find out early what will fail.
+ns_list.forEach(function(ns_name)
+{
+ var core = imports.gi[ns_name];
+}
// which languages do we want to output for.
langs=[];
// which languages do we want to output for.
langs=[];
@@
-181,4
+185,4
@@
langs.forEach(function(lang) {
Gio.simple_write(outputdir + '/' + lang.name + '/index.html', ix_template.process(ns_idx));
File.silentRecursiveCopy(__script_path__ + '/templates/resources/',
outputdir + '/' + lang.name , Gio.FileCopyFlags.OVERWRITE);
Gio.simple_write(outputdir + '/' + lang.name + '/index.html', ix_template.process(ns_idx));
File.silentRecursiveCopy(__script_path__ + '/templates/resources/',
outputdir + '/' + lang.name , Gio.FileCopyFlags.OVERWRITE);
-});
\ No newline at end of file
+});