From fe82dcfc3d3b7cb865cc308193d19a443743e90f Mon Sep 17 00:00:00 2001 From: Eric Engestrom Date: Mon, 12 May 2025 10:41:52 +0200 Subject: [PATCH] docs/linkcheck: print summary of problems found Part-of: --- docs/gitlab-ci.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/gitlab-ci.yml b/docs/gitlab-ci.yml index 3465165a70e..f6582497098 100644 --- a/docs/gitlab-ci.yml +++ b/docs/gitlab-ci.yml @@ -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