You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What this means is you're looking at "some great example" and the context changes to the root of the docs, which may be surprising? Alternatively we could have a friendly 404:
that page does not exist, if you changed versions, then perhaps this version does not have the feature you're looking for
This seems to be the extend of our options with hugo/netlify without serious engineering efforts. Thoughts?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
When we have a doc's section that does not exist in another section, we have two choices:
Redirect to a suitable page
If there is a similar page, then we go there. We think this is a good idea (tm)
eg:
/docs/v1.0.0/awesome-stuff
->/docs/v1.1.0/awesome/stuff
Redirect to the version home
When there's no matching page, redirect to the version home.
This is current behavior but wonder if a 404 is actually less surprising:
/docs/v1.0.0/examples/some-great-example
->/docs/v0.6.0/
What this means is you're looking at "some great example" and the context changes to the root of the docs, which may be surprising? Alternatively we could have a friendly 404:
that page does not exist, if you changed versions, then perhaps this version does not have the feature you're looking for
This seems to be the extend of our options with hugo/netlify without serious engineering efforts. Thoughts?
Beta Was this translation helpful? Give feedback.
All reactions