Skip to content
Merged
14 changes: 14 additions & 0 deletions netlify.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
[build]
command = """
rustup install nightly --profile minimal && cargo doc
"""
publish = "target/doc"

[build.environment]
RUSTDOCFLAGS="""
-D warnings \
--cfg docsrs \
--html-before-content /opt/build/repo/assets/warning.html \
--html-in-header /opt/build/repo/assets/noindex.html \
--extend-css /opt/build/repo/assets/warning.css \
"""