-
Notifications
You must be signed in to change notification settings - Fork 13k
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
rustdoc: Renders Run button even if playpen is not enabled #36621
Comments
Do you have a page/code example please? |
Edit: That link is no longer current, but you can see in other places, like this doc page which was generated with the bug: https://docs.rs/itertools/0.5.0/itertools/ |
I don't see any run button on the url you gave me. :-/ |
Oh oops, I pushed an update so that it redirects to docs.rs. My bad. |
Ok, I understand what's wrong. I'll fix it as soon as I can. |
Fixes run button appearing when it shouldn't Fixes #36621. r? @steveklabnik
Fixes run button appearing when it shouldn't Fixes #36621. r? @steveklabnik
rustdoc: Improve playground run buttons The main change is to stop using javascript to generate the URLs and use rustdoc instead. This also adds run buttons to the error index examples. You can test the changes at https://ollie27.github.io/rust_doc_test/. Fixes #36621 Fixes #36910
rustdoc renders the Run button even if playpen is not enabled now. Clicking the button has no useful effect.
Was this caused by #36334 ?
The text was updated successfully, but these errors were encountered: