From e8cc85f733a49ca53e8cda5a96bbaacc9a20ac7e Mon Sep 17 00:00:00 2001 From: Vojta Jina Date: Thu, 17 Oct 2013 14:16:32 -0700 Subject: chore(docs): generate header ids for better linking - generate ids for all headers - collect defined anchors - check broken links (even if the page exists, but the anchor/id does not) --- docs/src/gen-docs.js | 2 ++ 1 file changed, 2 insertions(+) (limited to 'docs/src/gen-docs.js') diff --git a/docs/src/gen-docs.js b/docs/src/gen-docs.js index 61fd3b3a..ffbf0068 100755 --- a/docs/src/gen-docs.js +++ b/docs/src/gen-docs.js @@ -55,6 +55,8 @@ writer.makeDir('build/docs/', true).then(function() { fileFutures.push(writer.output('partials/' + doc.section + '/' + id + '.html', doc.html())); }); + ngdoc.checkBrokenLinks(docs); + writeTheRest(fileFutures); return Q.deep(fileFutures); -- cgit v1.2.3