Skip to content

Commit a678571

Browse files
authored
add linkchecker to the html parser's docs (#100)
* add linkchecker to the html parser's docs we have come full circle * remove bad files
1 parent a8a7511 commit a678571

File tree

1 file changed

+13
-4
lines changed

1 file changed

+13
-4
lines changed

.github/workflows/test.yml

Lines changed: 13 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -69,8 +69,17 @@ jobs:
6969
with:
7070
toolchain: stable
7171

72-
# assert cargo doc succeeds
73-
- run: cargo doc
74-
7572
# assert there are no warnings
76-
- run: '[ -z "$(cargo doc || grep warning)" ]'
73+
- run: '[ -z "$(cargo doc --no-deps || grep warning)" ]'
74+
75+
# assert cargo doc succeeded
76+
- run: cargo doc --no-deps
77+
78+
# assert that there's no broken links (links to examples like to break)
79+
80+
# remove some known-bad files that we know hyperlink can't handle, to
81+
# silence errors
82+
- run: rm target/doc/help.html target/doc/settings.html
83+
- uses: untitaker/[email protected]
84+
with:
85+
args: target/doc/

0 commit comments

Comments
 (0)