Skip to content

Publish docs for optional features on docs.rs#407

Merged
devongovett merged 1 commit intoparcel-bundler:masterfrom
georgeclaghorn:visitor-docs
Feb 10, 2023
Merged

Publish docs for optional features on docs.rs#407
devongovett merged 1 commit intoparcel-bundler:masterfrom
georgeclaghorn:visitor-docs

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.

2 participants