tracing/netlify.toml
Eliza Weisman c95321a02e chore: simplify Netlify config (#1541)
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.
2021-09-11 12:15:29 -07:00

12 lines
228 B
TOML

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