-
Notifications
You must be signed in to change notification settings - Fork 379
Replacement for shortcode docs links #224
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
Comments
Reference style links are extremely ergonomic:
Before:
After:
|
As someone not familiar with the subject: What are the benefits of short-codes in the first place? |
|
Zola has a |
I think the ref links are quite a good way. You can still use short codes to make updating the links to a newer version easy. But I have also have another idea that's a bit weird: Write the book in rustdoc! Basically, you get
at the cost of
|
Yeah, it's appealing, but the marketing value of a coherent, pretty look is too high :p See #143 for more discussion on this point, particularly from Cart. |
Uh oh!
There was an error while loading. Please reload this page.
Problem definition
{rust_type(type="struct" crate="bevy" mod = "ecs/system" name="EntityCommands" no_mod = "true")}}
.struct
,enum
,trait
or so on.Requirements
struct{{bevy::ecs::system::EntityCommands}}
Bonus points
struct{{EntityCommands}}
{{bevy::ecs::system::EntityCommands}}
use bevy::ecs::system::EntityCommands
at the top of the file, which is processed out, allowing the author to writestruct{{EntityCommands}}
.Possible strategies
{{rs(name="App"}}
due to tera limitations :(.md
files provided.build
directory and are not commited.zola serve
.latest
or doing a find-and-replace each Bevy version.The text was updated successfully, but these errors were encountered: