Ticket #65 (closed defect: invalid)

Opened 5 years ago

Last modified 5 years ago

Haddock doesn't generate proper links to sections

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

Description

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:

file:///home/gwern/bin/XMonadContrib/dist/doc/html/xmonad-contrib/XMonad-Doc-Extending#Editing_the_layout_hook.html

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 5 years ago by waern

Testing email notification system.

Changed 5 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 5 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.