ENH: Add dev/stable distinction#562
Conversation
|
https://1108-25860190-gh.circle-artifacts.com/0/rtd_html/index.html @choldgraf @lucyleeow let me know if this is a good enough start. If so we should merge so that I can work on step (2) |
Codecov Report
@@ Coverage Diff @@
## master #562 +/- ##
=======================================
Coverage 97.57% 97.57%
=======================================
Files 29 29
Lines 2928 2928
=======================================
Hits 2857 2857
Misses 71 71
Continue to review full report at Codecov.
|
|
IMO this is good enough for me, I'll give it a merge so we can build in the rest of the process. We might want some CSS tweaks etc, but I think that we could improve this iteratively anyway :-) |
|
That looks good but I have a question - what is the purpose of the version drop down? Is it intended for people to be directed here so they can choose the dev/stable docs? And where would you be redirecting
|
Eventually the only docs that exist will be under the
|
|
You should investigate what's known as the Google search console, URL inspection, and how to define sitemaps to Google.
Sent from my phone. Please forgive typos and briefness.
…On Nov 15, 2019, 07:20, at 07:20, lucyleeow ***@***.***> wrote:
FYI google results directing to any SG page that is not the home page
(`index.html`) does not re-direct and you get 404 error. e.g.: the
links to Configuration etc do not work.
Not sure if it is easy to re-direct all pages?

--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
#562 (comment)
|
|
I got ownership and sitemap access. However, it looks like wildcards are not supported for sitemaps. So it might be easier to make Eventually it seems like google would catch on that those old pages don't exist, so even making redirects for the main pages might be a good enough start. |
|
I used this to generate redirects, run in the Made 15 HTML files like: https://github.com/sphinx-gallery/sphinx-gallery.github.io/blob/master/index.html The This didn't redirect the |

Closes #559.
[EDIT: I manually created]
Created:https://sphinx-gallery.github.io/dev/
https://sphinx-gallery.github.io/stable/
Currently just copies of https://sphinx-gallery.github.io/. Steps:
https://sphinx-gallery.github.io/index.htmlwith a URL redirect and remove all other files other thandev/stabledirs,index.html, and.nojekyll.