aboutsummaryrefslogtreecommitdiffstats
path: root/docs/docs.config.js
diff options
context:
space:
mode:
authorPeter Bacon Darwin2014-03-07 05:33:21 +0000
committerBrian Ford2014-03-07 15:08:42 -0800
commit021d3aa21a4b7f2ea69a4a9bff7a7ff7986d343c (patch)
treef7d8e5db9b36e973009ee72dc2b181c8de234b6f /docs/docs.config.js
parente8c8c5459e552d795fe9995038a5090efa727098 (diff)
downloadangular.js-021d3aa21a4b7f2ea69a4a9bff7a7ff7986d343c.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');