Skip to content

Conversation

00xc
Copy link

@00xc 00xc commented Jul 1, 2024

When building documentation for docs.rs, use the doc_auto_cfg feature to highlight which crate features are required for a given API. The feature is not used when building docs locally, as it requires the nightly toolchain (which docs.rs already uses).

You can check how the new docs will look by running:

RUSTDOCFLAGS="--cfg docsrs" cargo +nightly doc --all-features --open

When building documentation for docs.rs, use the `doc_auto_cfg`
feature to highlight which crate features are required for a given
API. The feature is not used when building docs locally, as it
requires the nightly toolchain (which docs.rs already uses).
@00xc
Copy link
Author

00xc commented Feb 12, 2025

Ping @marmeladema

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.

1 participant