Skip to content
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

Bring playpen.js up to date with @rust-lang/rust@be203ac25836 #35

Closed

Conversation

tatsuya6502
Copy link
Contributor

I realized Rust code blocks on the generated HTML book do not have the "Run" button. This was because librustdoc/html/static/playpen.js of this crate is not updated for a while.

I copied the latest playpen.js (rust-lang/rust/src/librustdoc/html/static/playpen.js @ be203ac25836) and verified this solved the problem.

Thanks!

- Copied playpen.js from rust/src/librustdoc/html/static/
@steveklabnik
Copy link
Owner

Thanks for this! There's one issue though: this repo is just a copy of what's in the rust-lang/rust repo. Could you re-send this PR there, please?

@tatsuya6502
Copy link
Contributor Author

tatsuya6502 commented Jun 17, 2016

I am afraid tools/rustbook in rust-lang/rust does not have its own copy of playpen.js file, but it is referencing playpen.js under librustdoc/html/static of rust-lang/rust. That playpen.js is the latest and no need to update.

I found this crate has its own copy of playpen.js under librustdoc/html/static, and it is outdated. This PR will sync the copy to the original in rust-lang/rust.

@tatsuya6502
Copy link
Contributor Author

Just FYI, I filed this issue to rust-lang/rust: Include rustbook binary in the official release artifacts? #34332

@tatsuya6502 tatsuya6502 deleted the update-playpenjs branch June 18, 2016 05:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants