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

docs: build Netlify docs with --all-features #1807

Merged
merged 1 commit into from
Dec 29, 2021

Conversation

hawkw
Copy link
Member

@hawkw hawkw commented Dec 29, 2021

Motivation

The docs.rs documentation is built with --all-features enabled.
However, the Netlify docs build does not enable default-off feature
flags. This means the docs may not match what's built on docs.rs, and in
some cases also results in docs build failures when documentation
links to code that's behind an off-by-default feature flag.

Solution

This commit changes the Netlify settings to enable all features.

The docs.rs documentation is built with `--all-features` enabled.
However, the netlify docs build does not enable default-off feature
flags. This means the docs may not match what's built on docs.rs, and in
some cases also results in docs build _failures_ when documentation
links to code that's behind an off-by-default feature flag.

This commit changes the Netlify settings to enable all features.
@hawkw hawkw requested review from davidbarsky and a team as code owners December 29, 2021 18:14
@hawkw hawkw merged commit 2eb1843 into master Dec 29, 2021
@hawkw hawkw deleted the eliza/netlify-all-features branch December 29, 2021 18:28
hawkw added a commit that referenced this pull request Dec 29, 2021
## Motivation

The docs.rs documentation is built with `--all-features` enabled.
However, the Netlify docs build does not enable default-off feature
flags. This means the docs may not match what's built on docs.rs, and in
some cases also results in docs build _failures_ when documentation
links to code that's behind an off-by-default feature flag.

## Solution

This commit changes the Netlify settings to enable all features.
hawkw added a commit that referenced this pull request Dec 29, 2021
## Motivation

The docs.rs documentation is built with `--all-features` enabled.
However, the Netlify docs build does not enable default-off feature
flags. This means the docs may not match what's built on docs.rs, and in
some cases also results in docs build _failures_ when documentation
links to code that's behind an off-by-default feature flag.

## Solution

This commit changes the Netlify settings to enable all features.
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

1 participant