[Haddock] [haddock] #234: Including documentation in the export list breaks headings

haddock haddock at projects.haskell.org
Fri Jan 4 15:46:44 GMT 2013

#234: Including documentation in the export list breaks headings
Reporter:  copton  |       Owner:     
    Type:  defect  |      Status:  new
Priority:  major   |   Milestone:     
 Version:  2.11.0  |    Keywords:     

 Section [http://www.haskell.org/haddock/doc/html/ch03s04.html 3.4]
 describes how to add headings and sub-headings to the export list.
 Section [http://www.haskell.org/haddock/doc/html/ch03s05.html 3.5]
 explains how to include documentation directly to the export list.

 When mixing these features, the sub-heading following the included
 documentation is not considered.
  * Input: !FooBroken.hs
  * Output: !FooBroken.html (note the 5th row in particular)

 Without the included documentation everything renders fine.
  * Input: !FooWorks.hs
  * Output: !FooWorks.html

 I tried various alternatives such as adding and removeing additional empty
 lines between the heading and the included documentation. It seems to me
 that included documentation is simply not expected in between of a heading
 and its sub-heading.



Ticket URL: <http://trac.haskell.org/haddock/ticket/234>
haddock <http://www.haskell.org/haddock>
Haddock, The Haskell Documentation Tool

More information about the Haddock mailing list