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

feat: Improve proc-macro zenoh_macros::unstable #1016

Merged
merged 1 commit into from
May 7, 2024

Conversation

fuzzypixelz
Copy link
Member

This pull request does three things:

  1. Enable the unstable doc_auto_cfg Rustdoc flag to get native "Available on crate feature unstable only." notices.
  2. Replace the ad-hoc hijacking of Rustdoc CSS classes with the supported warning class.
  3. Move the (un)stability notice the the end of the doc string, in order to leave space for the summary doc line.

Before (module):
Screenshot 2024-05-07 at 10-40-54 zenoh liveliness - Rust

After (module):
Screenshot 2024-05-07 at 10-41-19 zenoh liveliness - Rust

Before (item):
Screenshot 2024-05-07 at 10-40-04 Liveliness in zenoh liveliness - Rust

After (item):
Screenshot 2024-05-07 at 10-39-17 Liveliness in zenoh liveliness - Rust

@fuzzypixelz fuzzypixelz force-pushed the fix/unstable-attribute branch 2 times, most recently from 87935aa to c9f2723 Compare May 7, 2024 09:08
@Mallets Mallets merged commit b8dd01d into eclipse-zenoh:main May 7, 2024
11 checks passed
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.

None yet

2 participants