haddock
haddock copied to clipboard
Controlling layout of re-exported modules
First off, the new comprehensive listing of partially re-exported modules is awesome, however the docs from the re-exported module appear to be in a completely random order, which is a shame.
Consider this original module: https://hackage.haskell.org/package/broadcast-chan-0.2/candidate/docs/BroadcastChan.html
And this module that re-exports the above: https://hackage.haskell.org/package/broadcast-chan-0.2/candidate/docs/BroadcastChan-Throw.html#g:1
The re-exports are in a jumbled order with no apparent sense (it's not alphabetical, it's not the export list of the original module). This is a shame, ideally there should be some way to control how the documentation for these re-exports is produced (either alphabetical or in export order) or perhaps even an option to select between those (and more?) options.
Hi Haddock is going to contain a solution for this problem. I'm currently trying to work out a specification. I'll link to it once I have it written down.
@sjakobi Hi! Do you have any news on that front? :)