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

404 error for https://downloads.haskell.org/~ghc/latest/docs/html/ #209

Open
noughtmare opened this issue Aug 7, 2022 · 6 comments
Open

Comments

@noughtmare
Copy link
Contributor

noughtmare commented Aug 7, 2022

The address https://downloads.haskell.org/~ghc/latest/docs/html/ used to give a html page for the GHC manual, but now it gives a 404 error.

The parent https://downloads.haskell.org/~ghc/latest/docs/ does work and seems to indicate that the 'html' folder exists, but clicking that links gives the 404 error.

@bgamari
Copy link

bgamari commented Aug 7, 2022

Sigh, it looks like this is a result of the switch to Hadrian, which has slightly changed the directory structure for documentation. I believe the fact that the parent suggests that html exists is merely a result of the CDN.

@tomjaguarpaw
Copy link
Collaborator

The parent https://downloads.haskell.org/~ghc/latest/docs/ does work and seems to indicate that the 'html' folder exists, but clicking that links gives the 404 error.

I don't see a link with html in it, but I do see a broken link from "GHC API" to https://downloads.haskell.org/~ghc/latest/docs/libraries/ghc/index.html

@noughtmare
Copy link
Contributor Author

For the record, I'm seeing this:

image

I'm also worried that this change will be permanent, because I used this link in quite quite a few posts online so all that would break. I notice that the https://haskell.org/documentation link to the GHC User's Guide at the bottom is also broken now.

Would it be a good idea to add a stable route to the html version of the GHC User's Guide on haskell.org?

@tomjaguarpaw
Copy link
Collaborator

How bizarre. I'm seeing the following on

screenshot1

Would it be a good idea to add a stable route to the html version of the GHC User's Guide on haskell.org?

Well, https://www.haskell.org/ghc/ really ought to be used for that purpose.

@noughtmare
Copy link
Contributor Author

How bizarre. I'm seeing the following on

I'm guessing it is indeed caching. I'm seeing what you are seeing on the link without the ~, but the other link still shows the old contents. I do find it a bit strange that the cache is still the same after 11 hours, but I don't know what to expect on that front.

@bgamari
Copy link

bgamari commented Aug 8, 2022

How bizarre. I'm seeing the following on

I'm guessing it is indeed caching. I'm seeing what you are seeing on the link without the ~, but the other link still shows the old contents. I do find it a bit strange that the cache is still the same after 11 hours, but I don't know what to expect on that front.

Yes, the CDN is the cause of untold mysteries.

I'm also worried that this change will be permanent, because I used this link in quite quite a few posts online so all that would break. I notice that the https://haskell.org/documentation link to the GHC User's Guide at the bottom is also broken now.

Indeed, I too am worried that users may have come to rely on this URL. On the other hand, latest is by definition subject to change. We could install a hack to forward /ghc/latest/docs/html to /ghc/latest/docs/users-guide, but I am worried that this may only break again (perhaps in a harder-to-fix) way in the future.

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