Skip to content

Documentation has stale links to 404 pages #117

Description

@jonbenfri

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:

  1. Rewrite all links
  2. 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>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions