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 409ad62042
commit 43d4fffdbe
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,