Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

Commit f7b2fff

Browse files
committed
chore(doc-gen): error on unmatched links
Closes #16597
1 parent 9a065c0 commit f7b2fff

File tree

3 files changed

+704
-26
lines changed

3 files changed

+704
-26
lines changed

docs/config/index.js

+1
Original file line numberDiff line numberDiff line change
@@ -148,6 +148,7 @@ module.exports = new Package('angularjs', [
148148

149149
.config(function(checkAnchorLinksProcessor) {
150150
checkAnchorLinksProcessor.base = '/';
151+
checkAnchorLinksProcessor.errorOnUnmatchedLinks = true;
151152
// We are only interested in docs that have an area (i.e. they are pages)
152153
checkAnchorLinksProcessor.checkDoc = function(doc) { return doc.area; };
153154
})

package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,8 @@
3232
"commitplease": "^2.7.10",
3333
"cross-spawn": "^4.0.0",
3434
"cz-conventional-changelog": "1.1.4",
35-
"dgeni": "^0.4.0",
36-
"dgeni-packages": "^0.16.4",
35+
"dgeni": "^0.4.9",
36+
"dgeni-packages": "^0.26.2",
3737
"eslint-plugin-promise": "^3.6.0",
3838
"event-stream": "~3.1.0",
3939
"glob": "^6.0.1",

0 commit comments

Comments
 (0)