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

This commit is contained in:
Peter Bacon Darwin 2017-07-06 13:35:58 +01:00 committed by Pete Bacon Darwin
parent 99b666614d
commit 758848961e
1 changed files with 1 additions and 0 deletions

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;
});