projects
/
gnome.introspection-doc-generator
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
JSDOC/BuildDocs.js
[gnome.introspection-doc-generator]
/
JSDOC
/
BuildDocs.js
diff --git
a/JSDOC/BuildDocs.js
b/JSDOC/BuildDocs.js
index
0307d9d
..
024d628
100644
(file)
--- a/
JSDOC/BuildDocs.js
+++ b/
JSDOC/BuildDocs.js
@@
-386,15
+386,16
@@
BuildDocs = {
// this stuff works...
// this stuff works...
-
//print(
sourceFile);
- var name = sourceFile
; //
.substring(Options.baseDir.length+1);
-
//print(
name);
+
print("SF: " +
sourceFile);
+ var name = sourceFile.substring(Options.baseDir.length+1);
+
print("SHORT NAME: " +
name);
name = name.replace(/\.\.?[\\\/]/g, "").replace(/[\\\/]/g, "_");
name = name.replace(/\.\.?[\\\/]/g, "").replace(/[\\\/]/g, "_");
-
+ print("SHORT NAME _: " + name);
name = name.replace(/\:/g, "_"); //??
name = name.replace(/\:/g, "_"); //??
+ print("SHORT NAME :: " + name);
Options.LOG.inform("Write Source file : " + Options.target+"/symbols/src/" + name);
Options.LOG.inform("Write Source file : " + Options.target+"/symbols/src/" + name);
- var pretty = imports.PrettyPrint.toPretty(File.read(sourceFile));
+ var pretty = imports.PrettyPrint.toPretty(File.read(
sourceFile));
File.write(Options.target+"/symbols/src/" + name,
'<html><head>' +
'<title>' + sourceFile + '</title>' +
File.write(Options.target+"/symbols/src/" + name,
'<html><head>' +
'<title>' + sourceFile + '</title>' +