root pages should redirect to versioned pages · Issue #35 · matplotlib/matplotlib.github.com · GitHub
Skip to content

root pages should redirect to versioned pages #35

Description

@jklymak

matplotlib.org should redirect to matplotlib.org/latest/, which should redirect to matplotlib.org/3.0.2/ or whatever "latest" is. Then people making links can link the versions link and it won't die if we rearrange doc pages (and it will clearly say what the link is).

The proper way to do this would be with an .htaccess file, but GitHub pages doesn't support that.

So far, looks like we can't do this with soft links.

We could do with http-equiv redirect. But that has to be in the header of each file which kind of means having two versions of the docs lying around doing the same thing, but with one version pointing to the canonical version. https://www.w3.org/TR/WCAG20-TECHS/H76.html

Another option is to migrate to readthedocs https://readthedocs.org

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions