-
-
Notifications
You must be signed in to change notification settings - Fork 8.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
bug(v1): Old docs remain in the gh-pages branch #2123
Comments
Another scenario is https://relay.dev/docs/en/classic-guides-containers and Relay-classic docs will always remain to every future version. This is already by design, and the fix is definitely a major breaking change. Why not migrate relay to v2 ? Although It has languages enabled, it only enable 1 language which is english 😱 |
Oh hmm. Shouldn't the fallback only kick in if it can't find the docs in the current versioned_docs folder? The versioned_sidebar should be the source of truth for a version. |
Not every docs is bounded to a sidebar. Even https://single-spa.js.org/docs/faq/ intentionally dont want a sidebar. I can find lot of other cases like this. |
Babel for example has a lot of it The high level docs is here https://babeljs.io/docs/en/7.0.0/plugins and a lot of the ad-hoc docs is not bound to a sidebar (intentionally) |
I have submitted a PR with a non-breaking change that resolves this issue if you opt in by configuring it. #2955 |
🐛 Bug Report
The page "Converting Mutations" was removed from the docs but it still shows up in the Algolia results (search for mutation) can still publicly accessible at https://relay.dev/docs/en/converting-mutations.
I suspect the deploy command is doing a merge with the existing files in thegh-pages
branch and not removing the old files which no longer exist.Update: That's not the reason. Perhaps the
relay-classic
version is unrecognized by the versioning script. The build artifacts look really odd for classic version.cc @endiliey
Have you read the Contributing Guidelines on issues?
Yes
To Reproduce
Go to https://relay.dev/docs/en/converting-mutations
Expected behavior
404
Actual Behavior
Page loads
Reproducible Demo
https://relay.dev/docs/en/converting-mutations
https://github.com/facebook/relay/tree/gh-pages/docs/en/converting-mutations still exists.
The text was updated successfully, but these errors were encountered: