aboutsummaryrefslogtreecommitdiffstats
path: root/docs/docs.config.js
diff options
context:
space:
mode:
authorPeter Bacon Darwin2014-03-07 05:33:21 +0000
committerPeter Bacon Darwin2014-03-07 10:41:48 +0000
commit486f1b4e5117584824ed67ebea7572cf13f09d72 (patch)
tree3b0fdad333028c36e7f6fd9681603bd88df41148 /docs/docs.config.js
parentc5f2f583ab24f359041b3babf2655f98e40b6c5b (diff)
downloadangular.js-486f1b4e5117584824ed67ebea7572cf13f09d72.tar.bz2
chore(doc-gen): improve error reporting
Diffstat (limited to 'docs/docs.config.js')
-rw-r--r--docs/docs.config.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/docs/docs.config.js b/docs/docs.config.js
index c1539cb6..62fd6066 100644
--- a/docs/docs.config.js
+++ b/docs/docs.config.js
@@ -25,6 +25,8 @@ module.exports = function(config) {
{ pattern: '**/*.ngdoc', basePath: path.resolve(basePath, 'content') }
]);
+ config.set('processing.stopOnError', true);
+
config.set('processing.errors.minerrInfoPath', path.resolve(basePath, '../build/errors.json'));
config.set('rendering.outputFolder', '../build/docs');