rust-lang/rust-by-example — reverse-engineered prompt
Reverse engineered prompt
I want a local version of Rust By Example, basically a clean documentation website that teaches Rust through lots of small runnable examples. It should feel like an online tutorial book, with chapters people can read in the browser and a live code editor area so readers can try the examples while they learn.
Please wire it up so I can build it and serve it locally, and make sure the content still works offline for reading even if running examples needs internet. If there’s already support for translated content, keep that working too, ideally with an easy way to switch the book language when serving the site.
Use the existing content and structure in the repo rather than reinventing it. I mostly want this working end to end, easy to run, and polished enough that someone could clone the repo and start reading right away. If anything is unclear, check the current docs online and follow the project’s existing conventions.
Want more depth? Deep Reverse