-
Notifications
You must be signed in to change notification settings - Fork 152
Add first_rclrs_node example and update documentation links #467
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
base: main
Are you sure you want to change the base?
Add first_rclrs_node example and update documentation links #467
Conversation
@roboticswithjulia thanks for submitting this PR. It looks like the code is not properly formatted, CI fails at the
Can you make sure that the new file is formatted according to the Rust styleguide? ( |
I found https://github.com/marketplace/actions/markdown-embed-code-from-file, which helps keeping Markdown and code files in sync, it'd be nice to keep the Markdown file we already have and just make sure that both the embedded example and the source file were in sync. |
I think that's a good idea as it would be aligned with what it was before. I can create a new crate just for this specific example and add there the Readme.md and the code itself aligned on the link explanation. But, maybe I misunderstood something when I was reading through the @mxgrey comment #465 (comment), and as far as I understood the idea was to document the crate itself to be compatible with the |
I am surprised how just leaving few unneeded left spaces in the comments can make a pipeline fail! Just removed few spaces and now pipeline works :) Thank you so much for the feedback! |
Hello @esteve and @mxgrey, |
I'm not sure how @esteve feels about this, but I was actually thinking the tutorial could go inside I'm concerned that since it's in an example crate right now it won't have very good visibility for new users. I'm not sure if we even publish the example crates to https://crates.io ... if we don't then this tutorial will never be generated into online documentation. |
Hello @mxgrey , |
I agree with @mxgrey, we're not publishing the examples to crates.io, so the documentation wouldn't be available online. I've tried running the @roboticswithjulia our best bet is probably to just move the tutorials to |
…rkdown files and example code Signed-off-by: Esteve Fernandez <[email protected]>
Signed-off-by: Esteve Fernandez <[email protected]>
… a long time Signed-off-by: Esteve Fernandez <[email protected]>
Signed-off-by: Esteve Fernandez <[email protected]>
Signed-off-by: Esteve Fernandez <[email protected]>
Signed-off-by: Esteve Fernandez <[email protected]>
… and ref fetching
…tation synchronization
…proved functionality
…ate example references for clarity
Hello @esteve and @mxgrey , Issues to Discuss Before Merging
Do you know how I can check the commit
Thank you for your help, and I apologize for the multiple action execution notifications! |
Merge Request: Add Improvements to Documentation in
first_rclrs_node.rs
Description
This merge request moves the previous documentation written in
docs/writing-your-first-rclrs-node.md
into a custom example documentation./examples/minimal_pub_sub/src/first_rclrs_node.rs
. The changes aim to enhance clarity, readability and integration with Rust ecosystem.Changes
Modified Files
first_rclrs_node.rs
How to Test
first_rclrs_node.rs
file.Additional Notes
No functional code changes were made; only documentation improvements were included in this merge request.
Please review the changes and provide feedback or approval.