removing --html-help options

Simon Marlow marlowsd at
Mon Jul 19 04:13:13 EDT 2010

On 18/07/2010 17:27, Mark Lentczner wrote:
> Haddock offers the option:
> 	--html-help=format     produce index and table of contents in
> 	                       mshelp, mshelp2 or devhelp format (with -h)
> This causes the Html or XHtml backend to produce additional files for some HTML based help format. The formats supported, and the files used to generate the output are:
> 	devhelp - src/Haddock/Backends/DevHelp.hs
> 	mshelp  - src/Haddock/Backends/HH.hs
> 	mshelp2 - src/Haddock/Backends/HH2.hs
> The later two files contain entirely commented out code, the externally callable functions are defined to be `error "not yet"` The code in all three is very old. It uses Test.PrettyPrint to generate XML or HTML.
> Does anybody use this functionality? My concern is that it is woefully out of date with respect to either the current Html.hs backend, or the XHtml.hs backend I'm working on. It might work, but who knows?
> I propose to pull out the HH and HH2 stuff, since while I'm refactoring code, I keep running into functions called by the commented out code in there. I don't like refactoring commented out code - you really have no idea if it is going to work someday!
> If no one uses the devhelp, perhaps we should pull that out too.

At one stage it worked and generated output that could be used with MS 
help on windows, the main advantage being that it gave you a nice 
collapsible contents and an index.  As far as I know we haven't used it 
for a long time though.  I wouldn't object to dropping it.  (no idea 
what devhelp is)


More information about the Haddock mailing list