This script requires Scala CLI to be installed.
- Add Markdown documents to
$DIR
. - Edit
$DIR/README.md
to contain a section starting with<!-- Start autogenerated index -->
and ending with<!-- End autogenerated index -->
. - Call
generate-index.sc $DIR
to generate the index between these delimiters.