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

Publish docs for optional features on docs.rs #407

Merged
merged 1 commit into from
Feb 10, 2023
Merged

Publish docs for optional features on docs.rs #407

merged 1 commit into from
Feb 10, 2023

Conversation

georgeclaghorn
Copy link
Contributor

@georgeclaghorn georgeclaghorn commented Jan 24, 2023

The docs for the visitor module currently don't appear on docs.rs. Fix by enabling all optional features when generating docs for docs.rs. Annotate public items that require optional features.

image

image

image

To test locally, run:

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

(Apologies if these docs are intentionally not published.)

References: Stack Overflow.

@devongovett devongovett merged commit ca0f987 into parcel-bundler:master Feb 10, 2023
@georgeclaghorn georgeclaghorn deleted the visitor-docs branch February 10, 2023 02:41
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