File tree 1 file changed +6
-5
lines changed
1 file changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -184,14 +184,15 @@ jobs:
184
184
# This requires rustfmt, use stable.
185
185
- name : Run semver-check
186
186
run : cargo +stable run -p semver-check
187
- - run : |
187
+ - name : Ensure intradoc links are valid
188
+ run : cargo doc --workspace --document-private-items --no-deps
189
+ env :
190
+ RUSTDOCFLAGS : -D warnings
191
+ - name : Install mdbook
192
+ run : |
188
193
mkdir mdbook
189
194
curl -Lf https://github.com/rust-lang/mdBook/releases/download/v0.4.27/mdbook-v0.4.27-x86_64-unknown-linux-gnu.tar.gz | tar -xz --directory=./mdbook
190
195
echo `pwd`/mdbook >> $GITHUB_PATH
191
- # TODO: should check all workspace members
192
- - run : cargo doc -p cargo --document-private-items --no-deps
193
- env :
194
- RUSTDOCFLAGS : -D warnings
195
196
- run : cd src/doc && mdbook build --dest-dir ../../target/doc
196
197
- name : Run linkchecker.sh
197
198
run : |
You can’t perform that action at this time.
0 commit comments