[Haddock] [haddock] #262: Links to anchors have confusing labels

haddock haddock at projects.haskell.org
Tue Sep 17 08:44:15 BST 2013

#262: Links to anchors have confusing labels
Reporter:  bit_slayer  |       Owner:                   
    Type:  defect      |      Status:  new              
Priority:  minor       |   Milestone:                   
 Version:  2.11.0      |    Keywords:  link anchor label
 At the moment, when you link to an anchor in haddock using something like
 `"MyModule#anchor"`, the link on the generated page just says
 `"MyModule"`.  This is very confusing because it looks like the link is
 taking one to the module page, when really it goes to a specific anchor on
 that page.  It would be great if either the anchor name could be added to
 the label for the link to make it clear where the links is going, or if
 there were a way one could manually specify the label of the link --- say,
 by borrowing the syntax used by URLs to specify the label using a space,
 such as `"MyModule#anchor label goes here"`.

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

More information about the Haddock mailing list