-
Notifications
You must be signed in to change notification settings - Fork 843
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Haddock links to types in other packages are broken #1231
Comments
I think I saw that this was just fixed on master. Can you try upgrading and On Sun, Oct 25, 2015 at 6:37 PM, Omari Norman notifications@github.com
|
Unfortunately I'm getting the same behavior on master. Output from Version 0.1.7.0, Git revision b6c5233 (2413 commits) x86_64 |
After looking at issue #1105 I see a few things that aren't working:
|
Because this bug seems to depend on what other snapshots are installed, it may not replicate on different systems. |
@massysett: I haven't been able to reproduce your exact issue, but in the process of trying I did come across other problems with haddocks for packages that were copied from another snapshot. I've overhauled the way haddocks for dependencies are found and then put where they belong, and I don't think the issue you're describing should happen anymore. Can you try the latest master, and close this issue if it is resolved for you? @massysett said:
This is actually expected. All links in the HTML are relative to make it easy to copy the haddocks elsewhere (e.g. to a web server) and have all the inter-package links continue to work. What was broken is that the haddocks for dependencies were not copied to |
After doing I made a tarball of my project directory with the Haddocks and put it here: https://drive.google.com/file/d/0B2jkntipVFPZOEZ5clQ5S2tOdFk/view?usp=sharing I will try nuking my |
Nuking the |
I'm on Mac OS X El Capitan if that makes any difference. |
Based on what I see in your tarball, this looks like the same problem reported in #1317. When I run |
I've pushed a fix for #1317. Can you try the latest master and close this On Sun, Nov 8, 2015 at 8:00 PM Omari Norman notifications@github.com
|
It's working great with the latest master, thanks! |
When I build Haddocks, the links to types from other packages are broken.
Steps to replicate:
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
The text was updated successfully, but these errors were encountered: