agda-stdlib icon indicating copy to clipboard operation
agda-stdlib copied to clipboard

Legacy HTML pages

Open shhyou opened this issue 1 year ago • 1 comments

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 avatar Feb 27 '24 05:02 shhyou

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.

shhyou avatar Feb 27 '24 19:02 shhyou

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

MatthewDaggitt avatar Apr 11 '24 02:04 MatthewDaggitt

Done. Threw in an automated redirection too.

gallais avatar Apr 15 '24 12:04 gallais