fix(doc): make output less noisy

This commit is contained in:
Misko Hevery 2011-11-10 13:31:36 -08:00
parent 5279de0e70
commit f6d98f1472
2 changed files with 1 additions and 4 deletions

View file

@ -22,7 +22,6 @@ function collect() {
files.forEach(function(file) {
var work;
if(/\.js$/.test(file)) {
console.log("reading " + file + ".......");
work = Q.when(qfs.read(file, 'b'), function(content) {
processJsFile(content, file).forEach (function(doc) {
allDocs.push(doc);
@ -43,7 +42,6 @@ function collect() {
files.forEach(function(file) {
var work2;
if (file.match(/\.ngdoc$/)) {
console.log("reading " + file + ".......");
work2 = Q.when(qfs.read(file, 'b'), function(content){
var section = '@section ' + file.split('/')[2] + '\n';
allDocs.push(new ngdoc.Doc(section + content.toString(),file, 1).parse());
@ -95,4 +93,4 @@ function processJsFile(content, file) {
}
});
return docs;
}
}

View file

@ -8,7 +8,6 @@ var OUTPUT_DIR = "build/docs/";
var fs = require('fs');
exports.output = function(file, content) {
console.log('writing ', file);
var fullPath = OUTPUT_DIR + file;
var dir = parent(fullPath);
return Q.when(exports.makeDir(dir), function(error) {