-
Notifications
You must be signed in to change notification settings - Fork 1.2k
add API Version Management under Ament CMake page. #6116
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
add API Version Management under Ament CMake page. #6116
Conversation
Signed-off-by: Tomoya.Fujita <[email protected]>
fujitatomoya
left a comment
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.
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.
Pull request overview
This PR adds comprehensive documentation for API Version Management to the Ament CMake page. The new section explains how to use ament_generate_version_header for managing API versions in C/C++ packages through compile-time macros, which is useful for maintaining backward compatibility across different ROS 2 distributions and patch releases.
Key changes:
- Documentation of auto-generated version macros and their naming conventions
- Instructions for generating version headers in user packages
- Best practices for using version macros for API compatibility checking
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
|
HTML artifacts: https://github.com/ros2/ros2_documentation/actions/runs/20519103241/artifacts/4970003841. To view the resulting site:
|
Signed-off-by: Tomoya.Fujita <[email protected]> (cherry picked from commit d40b914)
Signed-off-by: Tomoya.Fujita <[email protected]> (cherry picked from commit d40b914)
Signed-off-by: Tomoya.Fujita <[email protected]> (cherry picked from commit d40b914)
(cherry picked from commit d40b914) Signed-off-by: Tomoya.Fujita <[email protected]> Co-authored-by: Tomoya Fujita <[email protected]>
(cherry picked from commit d40b914) Signed-off-by: Tomoya.Fujita <[email protected]> Co-authored-by: Tomoya Fujita <[email protected]>
(cherry picked from commit d40b914) Signed-off-by: Tomoya.Fujita <[email protected]> Co-authored-by: Tomoya Fujita <[email protected]>
Description
Fixes #6115
Did you use Generative AI?
Yes, Claude Sonnet 4.5
Additional Information