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
eb39bf9
..
c90bde7
100644
(file)
--- a/
JSDOC/BuildDocs.js
+++ b/
JSDOC/BuildDocs.js
@@
-49,7
+49,7
@@
BuildDocs = {
this.symbolSet = Parser.symbols;
// this currently uses the concept of publish.js...
this.symbolSet = Parser.symbols;
// this currently uses the concept of publish.js...
-
+
this.publish();
this.publish();
@@
-60,7
+60,7
@@
BuildDocs = {
_getSrcFiles : function()
{
this.srcFiles = [];
_getSrcFiles : function()
{
this.srcFiles = [];
-
+ var _this = this;
var ext = ["js"];
if (Options.ext) {
ext = Options.ext.split(",").map(function($) {return $.toLowerCase()});
var ext = ["js"];
if (Options.ext) {
ext = Options.ext.split(",").map(function($) {return $.toLowerCase()});
@@
-69,7
+69,7
@@
BuildDocs = {
for (var i = 0; i < Options.src.length; i++) {
// add to sourcefiles..
for (var i = 0; i < Options.src.length; i++) {
// add to sourcefiles..
- File.list(Options.src[i] ).forEach($) {
+ File.list(Options.src[i] ).forEach(
function(
$) {
if (Options['exclude-src'].indexOf($) > -1) {
return;
}
if (Options['exclude-src'].indexOf($) > -1) {
return;
}
@@
-77,11
+77,11
@@
BuildDocs = {
if (ext.indexOf(thisExt) < 0) {
return;
}
if (ext.indexOf(thisExt) < 0) {
return;
}
- this.srcFiles.push(Options.src[i] + '/' + $);
+
_
this.srcFiles.push(Options.src[i] + '/' + $);
});
}
});
}
- Seed.print(JSON.stringify(this.srcFiles, null,4));Seed.quit();
+
//
Seed.print(JSON.stringify(this.srcFiles, null,4));Seed.quit();
return this.srcFiles;
},
return this.srcFiles;
},
@@
-125,7
+125,7
@@
BuildDocs = {
var src = ''
try {
var src = ''
try {
- Options.LOG.
warn
("reading : " + srcFile);
+ Options.LOG.
inform
("reading : " + srcFile);
src = File.read(srcFile);
}
catch(e) {
src = File.read(srcFile);
}
catch(e) {
@@
-158,7
+158,7
@@
BuildDocs = {
publish : function() {
publish : function() {
-
+ Options.LOG.inform("Publishing");
// link!!!
// link!!!