Haddock Restyler Userscript
Almost every documentation system for every programming language is on this worrying trend away from information density, toward...
making the docs nicer to browse on an iPad. Or something. In Haddock's case, the markup is the exact same for the new style, so it
was easy enough to write a script that swaps the new stylesheet out for the old (it's a script so it can remove the existing
stylesheet link on the page and use the old
ocean.css almost verbatim, without spamming
!important all over the place).
As a bonus, I've bumped the image assets up to modern standards, so the Haskell logo and
- buttons should look nice and
sharp on hi-res displays. It's set to work on Hackage by default, but it's easy enough to tack on a few includes for local docs
on disk and so on.
You can grab the script directly from here or over on Greasy Fork.