mirror of
https://github.com/teloxide/teloxide.git
synced 2024-12-22 14:35:36 +01:00
12 lines
517 B
TOML
12 lines
517 B
TOML
[build]
|
|
# Directory (relative to root of your repo) that contains the deploy-ready
|
|
# HTML files and assets generated by the build. If a base directory has
|
|
# been specified, include it in the publish directory path.
|
|
publish = "target/doc"
|
|
|
|
# Default build command.
|
|
command = 'curl https://sh.rustup.rs -sSf | sh -s -- -y --default-toolchain nightly --profile minimal && source $HOME/.cargo/env && RUSTDOCFLAGS="--cfg docsrs" cargo +nightly doc --no-deps --all-features'
|
|
|
|
[[redirects]]
|
|
from = "/*"
|
|
to = "/teloxide"
|