Closed
Description
When I build Haddocks, the links to types from other packages are broken.
Steps to replicate:
- wget https://github.com/massysett/penny/archive/stack-haddock-bug.tar.gz
- tar xf stack-haddock-bug.tar.gz
- cd penny-stack-haddock-bug
- ./buildprep
- cd package
- stack build --haddock --haddock-deps
- open .stack-work/dist/x86_64-osx/Cabal-1.22.4.0/doc/html/penny/index.html
- 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