Many of the links in the documentation on the current GitHub pages link (https://gdsfactory.github.io/sax/) still point to the previous GitHub pages site (https://flaport.github.io/sax).
For example, on the current sax documentation homepage, the following links are stale:
Full Quick Start page - Documentation.
Furthermore, these stale links result in a 404.
I have two suggestions:
- Rewrite all links
- Redirect the previous URL to the new URL
One possible solution for redirecting the previous URL is to create custom 404 pages which redirect to the new URL. GitHub provides instructions for custom 404 pages here:
https://docs.github.com/en/pages/getting-started-with-github-pages/creating-a-custom-404-page-for-your-github-pages-site
Here is a sketch of some HTML redirect code:
<!doctype html>
<meta charset="utf-8">
<title>Redirecting…</title>
<script>
window.location.replace("https://new-owner.github.io/new-repo/");
</script>
<p>
Moved to
<a href="https://new-owner.github.io/new-repo/">the new documentation site</a>.
</p>
Many of the links in the documentation on the current GitHub pages link (https://gdsfactory.github.io/sax/) still point to the previous GitHub pages site (https://flaport.github.io/sax).
For example, on the current sax documentation homepage, the following links are stale:
Full Quick Start page - Documentation.
Furthermore, these stale links result in a 404.
I have two suggestions:
One possible solution for redirecting the previous URL is to create custom 404 pages which redirect to the new URL. GitHub provides instructions for custom 404 pages here:
https://docs.github.com/en/pages/getting-started-with-github-pages/creating-a-custom-404-page-for-your-github-pages-site
Here is a sketch of some HTML redirect code: