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

backport some stuff #1551

Merged
merged 4 commits into from
Sep 11, 2021
Merged

backport some stuff #1551

merged 4 commits into from
Sep 11, 2021

Conversation

hawkw
Copy link
Member

@hawkw hawkw commented Sep 11, 2021

hawkw and others added 4 commits September 11, 2021 12:06
This is a little bit nicer IMO.

Signed-off-by: Eliza Weisman <eliza@buoyant.io>
Previously, the Netlify configuration copied the docs into a
`_netlify_out` dir as a workaround for netlify/build-image#505. This
upstream issue was fixed back in January, so this workaround hasn't been
necessary for a while. Therefore, we can remove this extra complexity
from our configuration.

I also changed the build script to a multi-line string which I think is
a bit nicer.
…1544)

## Motivation

Currently, some types in the `filter` module that require the
"env-filter" feature flag don't properly show in the docs that they
require this feature. This is because the `doc(cfg(feature = "env-filter"))`
attribute is only placed on the _re-export_ from the
`env` module (and on the `EnvFilter` type), not on the individual
types that are re-exported. However, placing a `doc(cfg(...))` attribute
on a re-export doesn't actually do anything.

## Solution

This commit fixes that.
Co-authored-by: Eliza Weisman <eliza@buoyant.io>
@hawkw hawkw requested a review from a team as a code owner September 11, 2021 19:11
@hawkw hawkw merged commit 0ab63ef into v0.1.x Sep 11, 2021
@hawkw hawkw deleted the eliza/backport-1540 branch September 11, 2021 19:15
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