Skip to content
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

Haddocks on Hackage have broken links #4

Closed
statusfailed opened this issue Oct 13, 2013 · 2 comments
Closed

Haddocks on Hackage have broken links #4

statusfailed opened this issue Oct 13, 2013 · 2 comments

Comments

@statusfailed
Copy link

The haddock documentation on hackage is broken. Links point to a url beginning with file://, for example, the FromRecord link points to here:

file:///packages/archive/cassava/0.2.2.0/doc/html/Data-Csv.html#t:FromRecord

instead of here:

http://hackage.haskell.org/package/cassava-0.1.0.1/docs/Data-Csv.html#t:FromRecord

@Gabriella439
Copy link
Collaborator

Yes, this seems to be a bug with Hackage. A lot of uploads around that time had the same problem. For example, the snap package has the exact same problem, which you can see if you visit this page:

http://hackage.haskell.org/package/snap-0.13.0.2/docs/Snap.html

All the module links on that page have the same file:// prefix and are broken. There was an issue for this, which you can find here:

haskell/hackage-server#103

According to that issue, the solution for this is the following command, with appropriate substitutions:

curl -X DELETE http://user:pass@example.com/package/example-package-X.Y.Z/docs

@jb55
Copy link
Owner

jb55 commented Mar 15, 2014

Looks like this was fixed? Closing.

@jb55 jb55 closed this as completed Mar 15, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants