Skip to content
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

Merged
merged 4 commits into from
Dec 12, 2024

Conversation

CodyTheDoer
Copy link
Contributor

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.

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.
Copy link
Owner

@johanhelsing johanhelsing left a 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 :)

@@ -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,
Copy link
Owner

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

@@ -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"] }
Copy link
Owner

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.
@CodyTheDoer
Copy link
Contributor Author

I've submitted a follow up commit for each file with improved formatting and additional nuance about the reference to the cargo.toml file.

@johanhelsing johanhelsing merged commit ffab55e into johanhelsing:main Dec 12, 2024
@johanhelsing
Copy link
Owner

Did some final fixes, and a manual merge. Thanks for the PR

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants