chore(docs): update to dgeni 0.4.1 and dgeni-packages 0.10.1

Adds a new processor to identify dangling links
This commit is contained in:
Peter Bacon Darwin
2014-10-06 16:55:42 +01:00
parent d7c084f9cf
commit f906603dd6
2 changed files with 44 additions and 4 deletions

View File

@@ -103,7 +103,7 @@ module.exports = new Package('angularjs', [
computePathsProcessor.pathTemplates.push({
docTypes: ['indexPage'],
getPath: function() {},
pathTemplate: '.',
outputPathTemplate: '${id}.html'
});
@@ -131,6 +131,12 @@ module.exports = new Package('angularjs', [
});
})
.config(function(checkAnchorLinksProcessor) {
checkAnchorLinksProcessor.base = '/';
// We are only interested in docs that have an area (i.e. they are pages)
checkAnchorLinksProcessor.checkDoc = function(doc) { return doc.area; };
})
.config(function(
generateIndexPagesProcessor,

40
npm-shrinkwrap.json generated
View File

@@ -1133,7 +1133,7 @@
"version": "0.0.2"
},
"dgeni": {
"version": "0.4.0",
"version": "0.4.1",
"dependencies": {
"dependency-graph": {
"version": "0.1.0",
@@ -1254,7 +1254,7 @@
}
},
"dgeni-packages": {
"version": "0.10.0",
"version": "0.10.1",
"dependencies": {
"catharsis": {
"version": "0.7.1"
@@ -1323,6 +1323,40 @@
}
}
},
"htmlparser2": {
"version": "3.7.3",
"dependencies": {
"domhandler": {
"version": "2.2.0"
},
"domutils": {
"version": "1.5.0"
},
"domelementtype": {
"version": "1.1.1"
},
"readable-stream": {
"version": "1.1.13",
"dependencies": {
"core-util-is": {
"version": "1.0.1"
},
"isarray": {
"version": "0.0.1"
},
"string_decoder": {
"version": "0.10.31"
},
"inherits": {
"version": "2.0.1"
}
}
},
"entities": {
"version": "1.0.0"
}
}
},
"lodash": {
"version": "2.4.1"
},
@@ -1886,7 +1920,7 @@
},
"grunt-jasmine-node": {
"version": "0.1.0",
"from": "grunt-jasmine-node@git://github.com/vojtajina/grunt-jasmine-node.git#fix-grunt-exit-code",
"from": "grunt-jasmine-node@git://github.com/vojtajina/grunt-jasmine-node.git#ced17cbe52c1412b2ada53160432a5b681f37cd7",
"resolved": "git://github.com/vojtajina/grunt-jasmine-node.git#ced17cbe52c1412b2ada53160432a5b681f37cd7"
},
"grunt-jscs-checker": {