X-Git-Url: http://git.roojs.org/?p=gnome.introspection-doc-generator;a=blobdiff_plain;f=JsTemplate%2FLink.js;h=a84e96f6eef063a8dc3ad228cafd0b0403a5e815;hp=b723d785da42a8eeab242397c7bb39d06ba2444c;hb=d56985f1898989ac6236528f762e69837f185914;hpb=093bcf18fbd86f87213384e898d5a13918c12a80 diff --git a/JsTemplate/Link.js b/JsTemplate/Link.js index b723d78..a84e96f 100644 --- a/JsTemplate/Link.js +++ b/JsTemplate/Link.js @@ -156,8 +156,8 @@ Link = XObject.define( // transform filepath into a filename var srcFile = srcFilePath.replace(/\.\.?[\\\/]/g, "").replace(/[:\\\/]/g, "."); // was _ var lsrcFile = srcFilePath.replace(/\.\.?[\\\/]/g, "").replace(/[:\\\/]/g, "."); - var outFilePath = Link.base + JSDOC.publish.conf.srcDir + srcFile.replace(/.js$/, '') + - import.JSDOC.Options.Options.ext; + var outFilePath = Link.base + '/symbols/' + srcFile.replace(/.js$/, '') + + import.JSDOC.Options.Options.publishExt; if (!this.text) this.text = FilePath.fileName(srcFilePath); return ""+this.text+"";