[haddock] #103: Append characters that immediately follow a linked name to the links name

haddock haddock at projects.haskell.org
Tue Apr 28 14:29:14 EDT 2009


#103: Append characters that immediately follow a linked name to the links name
------------------------+---------------------------------------------------
Reporter:  sol          |       Owner:       
    Type:  enhancement  |      Status:  new  
Priority:  major        |   Milestone:  2.5.0
 Version:               |    Keywords:       
------------------------+---------------------------------------------------
 Say we have a function:

 {{{
 -- | Extract all 'Item's from given 'Data'
 foo :: Data -> [Item]
 foo = undefined
 }}}

 Then we probably want a link {{{<a href="...#t%3AItem">Items</a>}}} in the
 html output of Haddock (notice the s in the link name).

 MediaWiki has a similar feature: {{{[[Item]]s}}} gives
 {{{<a href="/wiki/Item" title="Item">Items</a>}}}

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


More information about the Haddock mailing list