Skip to content

Commit

Permalink
[ci] fix linkchecker job (#6757)
Browse files Browse the repository at this point in the history
  • Loading branch information
jameslamb authored Dec 16, 2024
1 parent 31205fc commit 8eb3c3c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .ci/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -146,8 +146,8 @@ if [[ $TASK == "check-docs" ]] || [[ $TASK == "check-links" ]]; then
make -C docs html || exit 1
if [[ $TASK == "check-links" ]]; then
# check docs for broken links
pip install linkchecker
linkchecker --config=.linkcheckerrc ./docs/_build/html/*.html || exit 1
pip install 'linkchecker>=10.5.0'
linkchecker --config=./docs/.linkcheckerrc ./docs/_build/html/*.html || exit 1
exit 0
fi
# check the consistency of parameters' descriptions and other stuff
Expand Down
4 changes: 2 additions & 2 deletions docs/.linkcheckerrc
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
[checking]
maxrequestspersecond=1
maxrequestspersecond=0.1
recursionlevel=1
anchors=1
sslverify=0
threads=1
threads=4

[filtering]
ignore=
Expand Down

0 comments on commit 8eb3c3c

Please sign in to comment.