With multi-package projects, it would be great to have the module hierarchy closed, i.e not expanded, by default. Is this possible to configure?
Alternatively, can one add custom JavaScript to the generated index.html, e.g via a command line argument? There is the --lib=<dir> argument but can't quite make out how to use it.
This is what I ended up doing:
If there is an actual blessed way to include additional JavaScript in the Haddocks' module listing page, please do post it as an answer!