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

Commit c387e0d

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

File tree

3 files changed

+704
-26
lines changed

3 files changed

+704
-26
lines changed

docs/config/index.js

Lines changed: 1 addition & 0 deletions
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

Lines changed: 2 additions & 2 deletions
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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy