Skip to content

Render Haddocks in flag descriptions #585

Closed

Description

@RyanGlScott

This issue is best illustrated with an example, so take a look at http://hackage.haskell.org/package/accelerate-1.0.0.0#flags:

accelerate

Sadly, none of the Haddocks are rendered for any of the flags' descriptions, making it quite hard to read. Is it possible for hackage-server to render them?

Activity

  1. hvr commented on Apr 30, 2017

    @hvr
    Member

    I see no fundamental problem why we couldn't, as long as Cabal is able to parse the .cabal file

    I was planning on improving/refactoring the current haddock markup handling anyway, as hackage-server has been lagging a bit behind Haddock's more recent markup additions (bold-faced, headings); then I could look into making the flag description haddockable as well.

  2. self-assigned this
    on Aug 1, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions