tracing/netlify.toml
Eliza Weisman 46a3d96952 chore: deny warnings in docs builds
This way, we'll get a build failure on PRs if the docs are broken.
I really thought we already did this, but apparently, we don't?

Signed-off-by: Eliza Weisman <eliza@buoyant.io>
2021-12-29 15:50:59 -08:00

17 lines
277 B
TOML

[build]
command = """
rustup install nightly --profile minimal \
&& cargo doc --no-deps --all-features
"""
publish = "target/doc"
[build.environment]
RUSTDOCFLAGS="""
-D warnings \
--cfg docsrs
"""
[[redirects]]
from = "/"
to = "/tracing"