comprehensive-rust icon indicating copy to clipboard operation
comprehensive-rust copied to clipboard

Make Playground URL configurable

Open mgeisler opened this issue 2 years ago • 3 comments
trafficstars

Contribute a patch to the upstream mdbook to allow us to easily override the Playground URL inside book.js.

This is related to #1016.

mgeisler avatar Sep 21 '23 12:09 mgeisler

I have opened https://github.com/rust-lang/mdBook/issues/2199 at the upstream.

hmn53 avatar Sep 22 '23 05:09 hmn53

I have opened rust-lang/mdBook#2199 at the upstream.

Awesome, thanks!

mgeisler avatar Sep 22 '23 06:09 mgeisler

I see https://github.com/rust-lang/mdBook/issues/2199 was de-duplicated. Perhaps you can start by sending a PR for the other issue? Something which makes mdbook run book.js through their template system so that it becomes possible to inject a custom URL.

mgeisler avatar Sep 25 '23 17:09 mgeisler