agda / agda-stdlib

The Agda standard library

Home Page:https://wiki.portal.chalmers.se/agda/Libraries/StandardLibrary

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Legacy HTML pages

shhyou opened this issue · 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>

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.

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

Done. Threw in an automated redirection too.