Add table of contents to docs

This commit is contained in:
Chris Clark
2015-11-19 10:37:08 -08:00
parent f7f2de291f
commit 5fb8d9214f
6 changed files with 73 additions and 8 deletions

View File

@@ -37,7 +37,10 @@ integrationtest() {
}
doctest() {
node --harmony scripts/build_docs.js docs/index.md.test
mv docs/index.md docs/index.md.save
npm run docgen
mv docs/index.md docs/index.md.test
mv docs/index.md.save docs/index.md
cmp docs/index.md docs/index.md.test
rm docs/index.md.test
}