re-frame/bin/doctoc.sh
Daniel Compton d9cdb53c07
Add generated table of contents to docs
This uses doctoc to automatically generate the TOC.
2016-11-10 11:06:08 +13:00

8 lines
252 B
Bash
Executable File

#!/usr/bin/env bash
# Table of contents are generated by doctoc.
# Install doctoc with `npm install -g doctoc`
# Then run this script to regenerate the TOC after
# editing the docs.
doctoc $(dirname $0)/../docs --github --title '## Table Of Contents'