-
Notifications
You must be signed in to change notification settings - Fork 83
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
bevy_matchbox example header comments to include reference to cargo dependency changes when needed for integration. #465
Conversation
Added a reference in the example's comment header to advise updating the local Cargo.toml to enable the necessary features for seamless integration with the example logic.
Added a reference in the example's comment header to advise updating the local Cargo.toml to enable the necessary features for seamless integration with the example logic.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks. Some formatting issues and some wording i don't understand, but a good place to add info about the feature :)
bevy_matchbox/examples/hello_host.rs
Outdated
@@ -1,4 +1,7 @@ | |||
//! Runs both signaling with server/client topology and runs the host in the same process | |||
//! Note: When building a signaling server ensure your cargo has been updated, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What do you mean by cargo has been updated?
Also please add an empty line from the paragraph above, and keep the same indentation
bevy_matchbox/examples/hello_host.rs
Outdated
@@ -1,4 +1,7 @@ | |||
//! Runs both signaling with server/client topology and runs the host in the same process | |||
//! Note: When building a signaling server ensure your cargo has been updated, | |||
//! Enable the `signaling` feature in the `bevy_matchbox` dependency: | |||
//! bevy_matchbox = { version = "0.n", features = ["signaling"] } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Code quotes should be surrounded by triple backticks, with toml as language
Added nuance to "cargo" -> cargo.toml file. Adjusted note indentation and spacing to match native format.
Reformatted to match native project and added nuance to reference to Cargo.
I've submitted a follow up commit for each file with improved formatting and additional nuance about the reference to the cargo.toml file. |
Did some final fixes, and a manual merge. Thanks for the PR |
Added a reference in the bevy_matchbox example's {hello_host, hello_signaling} comment header to advise updating the local Cargo.toml to enable the necessary features for seamless integration with the example logic.