We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8d4db3e commit d1a0040Copy full SHA for d1a0040
azure-pipelines.yml
@@ -93,6 +93,8 @@ jobs:
93
- job: docs
94
pool:
95
vmImage: ubuntu-16.04
96
+ variables:
97
+ TOOLCHAIN: nightly
98
steps:
99
- template: ci/azure-install-rust.yml
100
- bash: |
@@ -105,5 +107,11 @@ jobs:
105
107
displayName: "Build documentation"
106
108
- bash: cd src/doc && mdbook build --dest-dir ../../target/doc
109
displayName: "Build mdbook documentation"
- variables:
- TOOLCHAIN: stable
110
+ - bash: |
111
+ set -e
112
+ rustup component add rust-docs
113
+ cd src/doc
114
+ curl -sSLo linkcheck.sh \
115
+ https://raw.githubusercontent.com/rust-lang/rust/master/src/tools/linkchecker/linkcheck.sh
116
+ sh linkcheck.sh --all cargo
117
+ displayName: "Check for broken links"
0 commit comments