Conversation
ad3532f to
1051ec9
Compare
|
Someone who understands |
|
BTW do we want /stable/ or /latest/? I guess I like |
Definitely p.s. I'm half following all of this, thanks a lot for the PRs! |
2df234b to
e0a5434
Compare
|
|
||
| <urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"> | ||
| <url> | ||
| <loc>http://matplotlib.org/stable/</loc> |
There was a problem hiding this comment.
Note these should really have a <last-modified> tag, but I think they will work without.
|
A way forward to redirect root level instead of replacing root level by soft links to <!DOCTYPE HTML>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="refresh" content="0;url={{NEWEST_VERSION}}/PATH" />
<link rel="canonical" href="{{NEWEST_VERSION}}/PATH" />
</head>
<body>
<h1>
The page been moved to <a href="{{NEWEST_VERSION}}/PATH"</a>
</h1>
</body>
</html>Yet another option is change the hosting from GitHub pages, and be able to include our own |
|
This seems pretty reasonable, but all I did was read the docs that you linked, so I don't know about the SEO implications. You may have missed a few project subdirectories:
I have some ideas of how to proceed on the redirects now, but no time to try them just yet. Maybe after the 3.4.0 release candidate. |
|
Great I can add those. But how do you know those are all there? I can see how the main docs are built, but how do the other ones get injected? Do they just have GitHub pages that deploy onto ours? |
|
Any repo at |
Much pared-down version of #47.
Instead of redirecting the whole root tree, it now simply takes root out of the canonical search path in
sitemap.xmlandrobots.txt, and instead suggests going to the softlinkedstable->3.3.3.sitemap.xmlandrobots.txtwould need to be manually updated at release (though robots.txt should be fine until Matplotlib 6).Todo:
matplotlib.org/stable/