Skip to content

Haddock links to types in other packages are broken #1231

Closed
@massysett

Description

@massysett

When I build Haddocks, the links to types from other packages are broken.

Steps to replicate:

  1. wget https://github.com/massysett/penny/archive/stack-haddock-bug.tar.gz
  2. tar xf stack-haddock-bug.tar.gz
  3. cd penny-stack-haddock-bug
  4. ./buildprep
  5. cd package
  6. stack build --haddock --haddock-deps
  7. open .stack-work/dist/x86_64-osx/Cabal-1.22.4.0/doc/html/penny/index.html
  8. Click on "Penny.Commodity", then "Text"

I get a 404. Links work to other types in the same package, but all links to types in other packages are broken. I believe this used to work with older versions of stack.

Output from stack --version:

Version 0.1.6.0, Git revision e22271f (2313 commits) x86_64

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions