We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8e9f025 commit 4034d14Copy full SHA for 4034d14
check.sh
@@ -20,10 +20,14 @@ cd ./doc
20
poetry run doc8 --ignore-path build --max-line-length 100 -q
21
# check for broken links in the docs ############
22
set +e
23
-poetry run sphinx-build -b linkcheck -q -D linkcheck_timeout=5 ./source ./build > /dev/null 2>&1
24
-if [ $? -ne 0 ]; then
25
- cat ./build/output.txt | grep broken
26
- exit 1
+
+# do not run this in CI - too spurious
+if [ "$1" != "--no-fix" ]; then
+ poetry run sphinx-build -b linkcheck -q -D linkcheck_timeout=5 ./source ./build > /dev/null 2>&1
27
+ if [ $? -ne 0 ]; then
28
+ cat ./build/output.txt | grep broken
29
+ exit 1
30
+ fi
31
fi
32
#################################################
33
cd ..
0 commit comments