Unverified Commit 8eb3c3c6 authored by James Lamb's avatar James Lamb Committed by GitHub
Browse files

[ci] fix linkchecker job (#6757)

parent 31205fc8
...@@ -146,8 +146,8 @@ if [[ $TASK == "check-docs" ]] || [[ $TASK == "check-links" ]]; then ...@@ -146,8 +146,8 @@ if [[ $TASK == "check-docs" ]] || [[ $TASK == "check-links" ]]; then
make -C docs html || exit 1 make -C docs html || exit 1
if [[ $TASK == "check-links" ]]; then if [[ $TASK == "check-links" ]]; then
# check docs for broken links # check docs for broken links
pip install linkchecker pip install 'linkchecker>=10.5.0'
linkchecker --config=.linkcheckerrc ./docs/_build/html/*.html || exit 1 linkchecker --config=./docs/.linkcheckerrc ./docs/_build/html/*.html || exit 1
exit 0 exit 0
fi fi
# check the consistency of parameters' descriptions and other stuff # check the consistency of parameters' descriptions and other stuff
......
[checking] [checking]
maxrequestspersecond=1 maxrequestspersecond=0.1
recursionlevel=1 recursionlevel=1
anchors=1 anchors=1
sslverify=0 sslverify=0
threads=1 threads=4
[filtering] [filtering]
ignore= ignore=
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment