Skip to content

Commit

Permalink
chore: deny warnings in docs builds
Browse files Browse the repository at this point in the history
This way, we'll get a build failure on PRs if the docs are broken.
I really thought we already did this, but apparently, we don't?

Signed-off-by: Eliza Weisman <eliza@buoyant.io>
  • Loading branch information
hawkw committed Dec 29, 2021
1 parent 45fa57a commit 84bbbea
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions netlify.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@

[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 \
Expand Down

0 comments on commit 84bbbea

Please sign in to comment.