Skip to content
This repository was archived by the owner on Aug 3, 2024. It is now read-only.
This repository was archived by the owner on Aug 3, 2024. It is now read-only.

Consider supporting local documentation with links to Hackage #1086

Open
@harpocrates

Description

@harpocrates

This SO question has got me thinking: what would it take to have local documentation link to Hackage documentation? This might make it possible to follow hyperlinks through transitive dependencies, but without needing to locally build the docs for those dependencies.

So, what would it take? I think:

  • Hackage would have to expose the haddock interface files produced by docbuilder
  • Cabal should get an option to download the haddock interface files and feed them properly to Haddock (perhaps downloading + handing to Haddock only if no local alternative was found)
  • Haddock needs a way of dealing with interface files that aren't local

Perhaps this isn't worth doing at all, but opening an issue just to see what people think about the idea. 😄

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions