File tree Expand file tree Collapse file tree 2 files changed +7
-1
lines changed Expand file tree Collapse file tree 2 files changed +7
-1
lines changed Original file line number Diff line number Diff line change 36
36
- name : Check *.md files
37
37
run : git ls-files -z '*.md' | xargs -0 -n 1 -I {} ./node_modules/.bin/remark {} -u lint -f > /dev/null
38
38
39
+ - name : Linkcheck book
40
+ run : |
41
+ rustup toolchain install nightly --component rust-docs
42
+ curl https://raw.githubusercontent.com/rust-lang/rust/master/src/tools/linkchecker/linkcheck.sh -o linkcheck.sh
43
+ sh linkcheck.sh clippy --path ./book
44
+
39
45
- name : Build mdbook
40
46
run : mdbook build book
41
47
Original file line number Diff line number Diff line change @@ -50,7 +50,7 @@ questions already, but the parser is okay with it. This is what we
50
50
mean when we say ` EarlyLintPass ` deals with only syntax on the AST level.
51
51
52
52
Alternatively, think of the ` foo_functions ` lint we mentioned in
53
- [ define new lints] ( define_lints.md#name-the-lint ) chapter.
53
+ define new lints <!-- FIXME: add link --> chapter.
54
54
55
55
We want the ` foo_functions ` lint to detect functions with ` foo ` as their name.
56
56
Writing a lint that only checks for the name of a function means that we only
You can’t perform that action at this time.
0 commit comments