teloxide/netlify.toml
2021-07-07 20:55:55 +03:00

8 lines
306 B
TOML

[build]
command = "rustup install nightly --profile minimal && cargo +nightly doc --all-features --no-deps && cp -r target/doc _netlify_out"
environment = { RUSTFLAGS="--cfg dep_docsrs", RUSTDOCFLAGS= "--cfg docsrs -Znormalize-docs" }
publish = "_netlify_out"
[[redirects]]
from = "/"
to = "/teloxide"