Ticket #65 (closed defect: invalid)

Opened 9 years ago

Last modified 9 years ago

Haddock doesn't generate proper links to sections

Reported by: gwern Owned by:
Priority: major Milestone:
Version: Keywords:
Cc: gwern0@…


http://www.haskell.org/pipermail/haskell-cafe/2008-July/045276.html http://code.google.com/p/xmonad/issues/detail?id=234

The reported issues are still valid. I am testing with GHC 6.8.2, Haddock 2.4.0 (according to --version).

An example: going to XMonad.Layout.Combo, and clicking on a link to "XMonad.Doc.Extending#Editing_the_layout_hook" sends me to:


The '.html' is in the wrong place. This suggests to me that somewhere a 'section' variable is being appended to an URL and then the .html suffix is appended later, when the sequence should be the reverse.

Change History

Changed 9 years ago by waern

Testing email notification system.

Changed 9 years ago by waern

  • status changed from new to closed
  • resolution set to invalid

Referring to a specific section within a module in a module link is simply not supported. You can open an enhancement ticket if you really want this feature.

Changed 9 years ago by roma@…

Since a valid module name cannot contain hashes anyway, I don't see why we should not have this feature. I've submitted a patch without opening another ticket.

Note: See TracTickets for help on using tickets.