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

chore(doc): Support doc_auto_cfg for docs.rs #71

Merged
merged 2 commits into from
Jul 14, 2024

Conversation

sorairolake
Copy link
Contributor

Cargo.toml Outdated
Comment on lines 17 to 19
[package.metadata.docs.rs]
rustdoc-args = ["--cfg", "docsrs"]

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i don't think this is needed, #[cfg(docsrs)] is automatically applied according to https://docs.rs/about/builds#detecting-docsrs.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I didn't know this. I fixed this.

@sorairolake sorairolake requested a review from kennytm July 13, 2024 21:19
@kennytm kennytm merged commit e9373de into kennytm:master Jul 14, 2024
5 checks passed
@sorairolake sorairolake deleted the doc-auto-cfg branch July 14, 2024 11:10
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