X-Git-Url: http://git.roojs.org/?p=gnome.introspection-doc-generator;a=blobdiff_plain;f=JSDOC%2FBuildDocs.js;h=3a6529b1bb5adc3f5775ebac3438995f84d3261b;hp=7a7633e1d22cf6317da3559c516be81ee7e763c9;hb=a67931117fc1f532da5016752f7dd3c625ce25d3;hpb=8516e77d755f5efb70ec3520acb542266d69ad35 diff --git a/JSDOC/BuildDocs.js b/JSDOC/BuildDocs.js index 7a7633e..3a6529b 100644 --- a/JSDOC/BuildDocs.js +++ b/JSDOC/BuildDocs.js @@ -271,7 +271,7 @@ BuildDocs = { // dump out a - this.publishJSON(Options.target+"/json/", symbol.alias+'.json', symbol) + this.publishJSON(Options.target+"/json/" + symbol.alias+'.json', symbol) @@ -314,13 +314,18 @@ BuildDocs = { ); }, - + /** + * JSON files are lookup files for the documentation + * - can be used by IDE's or AJAX based doc tools + * + * + */ publishJSON : function(file, data) { // what we need to output to be usefull... // a) props.. var cfgProperties = []; - if (!data.comment || !data.comment.getTag('singleton').length) { + if (!data.comment.getTag('singleton').length) { cfgProperties = data.configToArray(); cfgProperties = cfgProperties.sort(makeSortby("name"));