docs/linkcheck: print summary of problems found

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/34923>
This commit is contained in:
Eric Engestrom
2025-05-12 10:41:52 +02:00
committed by Marge Bot
parent f0fa2209a8
commit fe82dcfc3d

View File

@@ -67,4 +67,10 @@ linkcheck-docs:
- !reference [.scheduled_pipeline-rules, rules]
allow_failure: true
script:
- sphinx-build -W -b linkcheck docs public
- |
if ! sphinx-build -W -b linkcheck docs public
then
echo "Summary:"
cat public/output.txt
exit 1
fi