Skip to content

Commit

Permalink
fix rust docs
Browse files Browse the repository at this point in the history
  • Loading branch information
tobz committed Dec 10, 2020
1 parent a8e122b commit b1e60e3
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions netlify.toml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
[build]
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
rustup install nightly --profile minimal && \
cargo doc --no-deps --workspace --exclude=metrics-observer && cp -r target/doc _netlify_out
"""
publish = "target/doc"
environment = { RUSTDOCFLAGS= "--cfg docsrs" }
publish = "_netlify_out"

[[redirects]]
from = "/"
Expand Down

0 comments on commit b1e60e3

Please sign in to comment.