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

Rename playpen to playground. #1241

Merged
merged 1 commit into from
Jun 22, 2020
Merged

Conversation

ehuss
Copy link
Contributor

@ehuss ehuss commented Jun 2, 2020

The playpen was renamed to playground several years ago, but mdbook still had the old terminology. Notes about backwards compatibility:

  • output.html.playground and output.html.playpen are accepted in the config (though not both at the same time). Only playground is documented.
  • {{#playpen}} and {{#playground}} are accepted as handlebar expressions, though {{#playpen}} will display a warning about it being renamed.
  • noplayground and noplaypen language tags are both supported.

This may impact books that have modified the "playpen" elements in the theme. This is also a minor API change.

Closes #674

@Dylan-DPC-zz Dylan-DPC-zz merged commit bc23d08 into rust-lang:master Jun 22, 2020
Ruin0x11 pushed a commit to Ruin0x11/mdBook that referenced this pull request Aug 30, 2020
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.

It is the Rust Playground, not the Playpen
3 participants