Skip to content

Commit

Permalink
put a floor on linkchecker, run fewer requests per second
Browse files Browse the repository at this point in the history
  • Loading branch information
jameslamb committed Dec 15, 2024
1 parent 2c1d9cc commit 5265786
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .ci/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ 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
pip install 'linkchecker>=10.5.0'
linkchecker --config=./docs/.linkcheckerrc ./docs/_build/html/*.html || exit 1
exit 0
fi
Expand Down
2 changes: 1 addition & 1 deletion docs/.linkcheckerrc
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[checking]
maxrequestspersecond=1
maxrequestspersecond=0.1
recursionlevel=1
anchors=1
sslverify=0
Expand Down

0 comments on commit 5265786

Please sign in to comment.