From 208160e6bbcabc2220fb5183f4ed12fb936ebed3 Mon Sep 17 00:00:00 2001 From: David Barsky Date: Thu, 25 Feb 2021 17:28:48 -0500 Subject: [PATCH] chore: add Netlify redirect to tower/` (#572) Co-authored-by: Eliza Weisman --- .netlify.toml | 4 ---- netlify.toml | 8 ++++++++ 2 files changed, 8 insertions(+), 4 deletions(-) delete mode 100644 .netlify.toml create mode 100644 netlify.toml diff --git a/.netlify.toml b/.netlify.toml deleted file mode 100644 index 6faf98d..0000000 --- a/.netlify.toml +++ /dev/null @@ -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" \ No newline at end of file diff --git a/netlify.toml b/netlify.toml new file mode 100644 index 0000000..3923657 --- /dev/null +++ b/netlify.toml @@ -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" \ No newline at end of file