diff options
| author | Vojta Jina | 2013-10-17 14:16:32 -0700 | 
|---|---|---|
| committer | Igor Minar | 2013-10-18 15:35:41 -0700 | 
| commit | e8cc85f733a49ca53e8cda5a96bbaacc9a20ac7e (patch) | |
| tree | f145db33b29ee9cce531492a8332adc537033b70 /docs/src/gen-docs.js | |
| parent | c22adbf160f32c1839fbb35382b7a8c6bcec2927 (diff) | |
| download | angular.js-e8cc85f733a49ca53e8cda5a96bbaacc9a20ac7e.tar.bz2 | |
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)
Diffstat (limited to 'docs/src/gen-docs.js')
| -rwxr-xr-x | docs/src/gen-docs.js | 2 | 
1 files changed, 2 insertions, 0 deletions
| 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); | 
