build(aio): abort doc-gen on dangling links

This commit is contained in:
Peter Bacon Darwin 2017-07-06 13:35:58 +01:00
parent a94f5e8cbb
commit d204f7aa2a

View File

@ -47,4 +47,5 @@ module.exports = new Package('angular.io', [gitPackage, apiPackage, contentPacka
}
});
checkAnchorLinksProcessor.pathVariants = ['', '/', '.html', '/index.html', '#top-of-page'];
checkAnchorLinksProcessor.errorOnUnmatchedLinks = true;
});