diff options
| author | Misko Hevery | 2011-11-10 13:31:36 -0800 |
|---|---|---|
| committer | Misko Hevery | 2011-11-14 20:31:17 -0800 |
| commit | f6d98f1472338a77b2f146087bcb8560f472e5d1 (patch) | |
| tree | 385da30b58b6902e5c764b94076b3520c6c8505e | |
| parent | 5279de0e70e4f7c9c9607691c34b79d8c675695a (diff) | |
| download | angular.js-f6d98f1472338a77b2f146087bcb8560f472e5d1.tar.bz2 | |
fix(doc): make output less noisy
| -rw-r--r-- | docs/src/reader.js | 4 | ||||
| -rw-r--r-- | docs/src/writer.js | 1 |
2 files changed, 1 insertions, 4 deletions
diff --git a/docs/src/reader.js b/docs/src/reader.js index 576ae2e4..49a1e1b8 100644 --- a/docs/src/reader.js +++ b/docs/src/reader.js @@ -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; -}
\ No newline at end of file +} diff --git a/docs/src/writer.js b/docs/src/writer.js index dcf78930..85ca6c5a 100644 --- a/docs/src/writer.js +++ b/docs/src/writer.js @@ -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) { |
