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