[Haddock] Portability box

Thomas Schilling nominolo at googlemail.com
Sun Aug 29 18:43:08 EDT 2010


Addendum to my last message:

It doesn't even work for the locally generated version:

    $ cabal install
    $ open dist/doc/html/haddock/index.html

The resulting document is unstyled. 

On 29 Aug 2010, at 18:23, David Waern wrote:

> 2010/8/29 Mark Lentczner <markl at glyphic.com>:
>> 2010/8/29 Mark Lentczner <markl at glyphic.com>:
>>> So - do we just retreat to a table? I think that would be easiest.
>> 
>> On Aug 28, 2010, at 10:32 PM, David Waern wrote:
>>> I guess so.
>>> 
>>> BTW, when I make the window horizontally very thin, the text in the
>>> box flows outside of the box. Would that be fixed by making it a table
>>> as well?
>> 
>> Done - the Portability box is now a table, not a cleverly styled dl list. It should now correctly layout in all browsers, and the text won't flow out of the box under any circumstances.
>> 
>> I also had to tweak the location of the TOC box by 0.5em because under some conditions (wide TOC, narrow portability box) the first line of documentation ran right up against the TOC top edge -- ick.
>> 
>> Ship it before my evil-twin makes me tweak it some more!!!
> 
> Thanks! Maybe I'll make a release tonight, we'll see.
> 
> David
> 
> _______________________________________________
> Haddock mailing list
> Haddock at projects.haskell.org
> http://projects.haskell.org/cgi-bin/mailman/listinfo/haddock




More information about the Haddock mailing list