teloxide/netlify.toml

13 lines
456 B
TOML
Raw Normal View History

2020-12-12 13:39:18 +01:00
[build]
2022-03-25 06:48:44 +01:00
command = "rustup install nightly-2022-02-02 --profile minimal && cargo +nightly doc --all-features --no-deps -Zunstable-options -Zrustdoc-scrape-examples=examples && cp -r target/doc _netlify_out"
2020-12-12 13:39:18 +01:00
publish = "_netlify_out"
2022-02-06 15:23:21 +01:00
[build.environment]
RUSTFLAGS="--cfg dep_docsrs"
# FIXME: Add back "-Znormalize-docs" when https://github.com/rust-lang/rust/issues/93703 is fixed
RUSTDOCFLAGS= "--cfg docsrs"
[[redirects]]
2020-12-12 13:39:18 +01:00
from = "/"
to = "/teloxide"