silverstripe / doc.silverstripe.org

The source code that powers http://doc.silverstripe.org
BSD 3-Clause "New" or "Revised" License
14 stars 19 forks source link

ENH Make 5 the default version #264

Closed emteknetnz closed 1 year ago

emteknetnz commented 1 year ago

Issue https://github.com/silverstripeltd/product-issues/issues/694

emteknetnz commented 1 year ago

take it that 4 and 5 are going to get the "Supported" banner?

Yes

You can view the deploy preview here https://deploy-preview-264--ss-docs.netlify.app

maxime-rainville commented 1 year ago

We might want to add a bit more details to the v4 version to say it's stable but not the latest version.

But that can wait.

GuySartorelli commented 1 year ago

We might want to add a bit more details to the v4 version to say it's stable but not the latest version

So the thing that was on the card that got struck out for some reason? 😂 If that's not being done as part of this pr but is intended to be done later, a card should be created for it and added to the backlog.

GuySartorelli commented 1 year ago

In the preview, if you go to /en/ it takes you to v4 docs still.

emteknetnz commented 1 year ago

New card was created for the struck out stuff - https://github.com/silverstripe/.github/issues/45

emteknetnz commented 1 year ago

In the preview, if you go to /en/ it takes you to v4 docs still.

Have fixed this - note you'll need to open network panel in developer tools and tick 'disable cache' for this to work, because the old redirect used a 301. I've changed the new redirect to use a 302 instead

GuySartorelli commented 1 year ago

Going to https://deploy-preview-264--ss-docs.netlify.app/en/getting_started/composer/ still redirects me to the v4 version of the page