mirror of
https://github.com/tokio-rs/tracing.git
synced 2025-10-02 07:20:35 +00:00

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>
17 lines
277 B
TOML
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"
|