mirror of
https://github.com/tokio-rs/tracing.git
synced 2025-10-01 06:50:49 +00:00

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.
12 lines
228 B
TOML
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"
|