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

Add the docsrs autocfg attr to all crates #3295

Merged
merged 2 commits into from
Dec 8, 2023
Merged

Add the docsrs autocfg attr to all crates #3295

merged 2 commits into from
Dec 8, 2023

Conversation

rcoh
Copy link
Collaborator

@rcoh rcoh commented Dec 7, 2023

This also adds it to generated crates, and adds an autofix+lint to manage these attributes.

Screenshot 2023-12-08 at 10 18 40 AM

Motivation and Context

Description

Adds this attribute to all crates and manages it with sdk-lints

Testing

  • Verified docs render as expected

Checklist

  • I have updated CHANGELOG.next.toml if I made changes to the smithy-rs codegen or runtime crates
  • I have updated CHANGELOG.next.toml if I made changes to the AWS SDK, generated SDK code, or SDK runtime crates

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@rcoh rcoh requested review from a team as code owners December 7, 2023 21:19
@rcoh rcoh enabled auto-merge December 7, 2023 21:27
Copy link

github-actions bot commented Dec 7, 2023

This also adds it to generated crates, and adds an autofix+lint to manage these attributes.
Copy link

github-actions bot commented Dec 8, 2023

Copy link

github-actions bot commented Dec 8, 2023

@ysaito1001 ysaito1001 self-requested a review December 8, 2023 21:41
@aws-sdk-rust-ci aws-sdk-rust-ci merged commit 093e9a2 into main Dec 8, 2023
41 checks passed
@aws-sdk-rust-ci aws-sdk-rust-ci deleted the docs-attr branch December 8, 2023 21:47
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.

Add #![cfg_attr(docsrs, feature(doc_auto_cfg))] to all runtime crates
4 participants