Ticket #103 (closed enhancement: wontfix)

Opened 5 years ago

Last modified 19 months ago

Append characters that immediately follow a linked name to the links name

Reported by: sol Owned by: SimonHengel
Priority: minor Milestone:
Version: Keywords:
Cc:

Description

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>

Change History

Changed 5 years ago by waern

Good idea. Should be easy to implement by fiddling with the HTML renderer for HsDoc?, in case you'd want to volunteer :-)

Changed 5 years ago by waern

  • priority changed from major to minor

Changed 2 years ago by SimonHengel

  • owner set to SimonHengel
  • status changed from new to assigned

Changed 2 years ago by SimonHengel

  • status changed from assigned to closed
  • resolution set to wontfix

Something like 'Item's looked really awful with the old css, with the new "ocean" css, it looks quite ok. So I see no reason to tackle this.

I'll close this as "wont fix". If you think we still need this feature, I'm happy to implement it (with a minor modification**). Just reopen the ticket.

** I would only putting the s (or whatever follows the liked name) inside the code block, but not inside the anchor-element. This way they are rendered with the same font, but you can still differentiate between `Item`s and `Items`.

Changed 19 months ago by anonymous

  • milestone 2.5.0 deleted

Milestone 2.5.0 deleted

Note: See TracTickets for help on using tickets.