teloxide/netlify.toml

9 lines
306 B
TOML
Raw Normal View History

2020-12-12 13:39:18 +01:00
[build]
command = "rustup install nightly --profile minimal && cargo +nightly doc --all-features --no-deps && cp -r target/doc _netlify_out"
2021-07-07 19:55:55 +02:00
environment = { RUSTFLAGS="--cfg dep_docsrs", RUSTDOCFLAGS= "--cfg docsrs -Znormalize-docs" }
2020-12-12 13:39:18 +01:00
publish = "_netlify_out"
[[redirects]]
2020-12-12 13:39:18 +01:00
from = "/"
to = "/teloxide"