Add utility to write Zola rustdoc `hide_lines`
This PR adds an utility app that automatically writes hide_lines Zola annotations on book contents.
Fixes #373
I really like this, it will make writing code blocks way easier. The code looks fine to me, but I think you should add either a README or at least a top level doc comment that explains what it actually does. It took me a while to figure out exactly what it was doing and I'm already very familiar with the problem.
In case you didn't see, most of the issues are fixed but I realized that it's modifying all lines endings, see: https://github.com/bevyengine/bevy-website/pull/405#discussion_r933167679
bors try
@alice-i-cecile the build error was because the examples have changed and the generate_wasm_examples.sh is not in sync. This is fixed in master. I've applied the same fix (b2c11e8).
bors r+
The failure looks unrelated to this PR. I'm not sure how to proceed though. :-/
bors try
bors r+
Okay, looks like we need to update the book code to main!
@alice-i-cecile do I need to do something from my part?
Nope; there's no problem with this PR. However, someone (which could be you), needs to update the example code to use 0.9 syntax.
Synced with latest changes in new-book.
bors r+
Pull request successfully merged into new-book.
Build succeeded: