chore: add Netlify redirect to tower/` (#572)

Co-authored-by: Eliza Weisman <eliza@buoyant.io>
This commit is contained in:
David Barsky 2021-02-25 17:28:48 -05:00 committed by GitHub
parent 7461abc6b5
commit 208160e6bb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 8 additions and 4 deletions

View File

@ -1,4 +0,0 @@
[build]
command = "rustup install nightly --profile minimal && cargo doc --no-deps && cp -r target/doc _netlify_out"
environment = { RUSTDOCFLAGS= "--cfg docsrs" }
publish = "_netlify_out"

8
netlify.toml Normal file
View File

@ -0,0 +1,8 @@
[build]
command = "rustup install nightly --profile minimal && cargo doc --features=full --no-deps && cp -r target/doc _netlify_out"
environment = { RUSTDOCFLAGS= "--cfg docsrs" }
publish = "_netlify_out"
[[redirects]]
from = "/"
to = "/tower"