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

Legacy HTML pages #2302

Closed
shhyou opened this issue Feb 27, 2024 · 3 comments
Closed

Legacy HTML pages #2302

shhyou opened this issue Feb 27, 2024 · 3 comments
Assignees

Comments

@shhyou
Copy link
Contributor

shhyou commented Feb 27, 2024

There are legacy HTML pages in https://github.com/agda/agda-stdlib/tree/gh-pages which are leftovers from #2147. These pages are still visible (possibly through Google search) like https://agda.github.io/agda-stdlib/Everything.html and https://agda.github.io/agda-stdlib/README.html, etc.

It might be a good idea to suggest the users to visit the new page, e.g. replacing their content by something like

<!DOCTYPE html>
<html>
<head><title>Documentation page moved</title></head>
<body><p>
Documentation has been moved to <a href="https://agda.github.io/agda-stdlib/">https://agda.github.io/agda-stdlib/</a>
</p></body>
</html>
@shhyou
Copy link
Contributor Author

shhyou commented Feb 27, 2024

Well, I was hoping that there could be some automatic redirection like

window.location = window.location.href.replace("/agda-stdlib/", "/agda-stdlib/master/");

but this could lead to 404 errors if the redirected module no longer exists.

@MatthewDaggitt
Copy link
Contributor

If someone was willing to do this that would be great, but unfortunately I don't have anywhere near the bandwidth at the moment.

@gallais
Copy link
Member

gallais commented Apr 15, 2024

Done. Threw in an automated redirection too.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants