diff --git a/netlify.toml b/netlify.toml index 6eb06e899f..37a3ea0f87 100644 --- a/netlify.toml +++ b/netlify.toml @@ -3,9 +3,14 @@ rustup install nightly --profile minimal \ && cargo doc --no-deps --all-features """ - environment = { RUSTDOCFLAGS= "--cfg docsrs" } publish = "target/doc" +[build.environment] + RUSTDOCFLAGS=""" + -D warnings \ + --cfg docsrs + """ + [[redirects]] from = "/" to = "/tracing"