diff options
| -rw-r--r-- | docs/src/reader.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/docs/src/reader.js b/docs/src/reader.js index e1a4c586..188d3fd3 100644 --- a/docs/src/reader.js +++ b/docs/src/reader.js @@ -43,6 +43,7 @@ function findNgDocInDir(directory, docNotify) { fs.stat(directory + '/' + file, docNotify.waitFor(function(err, stats){ if (err) return this.error(err); if (stats.isFile()) { + if (!file.match(/\.ngdoc$/)) return; console.log('reading', directory + '/' + file, '...'); fs.readFile(directory + '/' + file, docNotify.waitFor(function(err, content){ if (err) return this.error(err); |
