Skip to content

Rename playpen to playground.#1241

Merged
Dylan-DPC-zz merged 1 commit into
rust-lang:masterfrom
ehuss:playpen-rename
Jun 22, 2020
Merged

Rename playpen to playground.#1241
Dylan-DPC-zz merged 1 commit into
rust-lang:masterfrom
ehuss:playpen-rename

Conversation

@ehuss
Copy link
Copy Markdown
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