From 1af8b42db85cb353fcd5c38dc578d3dce170b3b2 Mon Sep 17 00:00:00 2001 From: Sebastiaan van Stijn Date: Fri, 6 Jan 2023 18:14:28 +0100 Subject: [PATCH 1/2] htmlproofer: temporarily exclude buildx build The buildx build docs refers to anchors that are being updated, but are maintained in a separate repository; exclude that page from the validator until the anchor changes are live and the buildx docs updated. Signed-off-by: Sebastiaan van Stijn --- Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 53e669da52e4..5179ac539caa 100644 --- a/Dockerfile +++ b/Dockerfile @@ -65,11 +65,12 @@ EOT # htmlproofer checks for broken links FROM gem AS htmlproofer-base +# FIXME(thaJeztah): remove temporary exclusion rule for buildx_build once anchor links are updated. RUN --mount=type=bind,from=generate,source=/out,target=_site < /results 2>&1 rc=$? if [[ $rc -eq 0 ]]; then From e19b56d856462c5696e05d22da244df12b3ba119 Mon Sep 17 00:00:00 2001 From: Sebastiaan van Stijn Date: Sat, 7 Jan 2023 13:16:39 +0100 Subject: [PATCH 2/2] htmlproofer: temporarily exclude engine/commandline/cli This page will be updated once the associated PR in docker/cli is merged. Excluding it until then. Running ["LinkCheck", "ImageCheck", "ScriptCheck"] on ["./_site"] on *.html... Ran on 2173 files! - ./_site/engine/reference/commandline/cli/index.html * linking to internal hash #format-the-output that does not exist (line 314) format the output section in the documentation * linking to internal hash #format-the-output that does not exist (line 318) format the output section in the documentation * linking to internal hash #format-the-output that does not exist (line 334) format the output section in the documentation * linking to internal hash #formatting that does not exist (line 326) formatting section in the documentation * linking to internal hash #formatting that does not exist (line 322) formatting section in the documentation * linking to internal hash #formatting that does not exist (line 330) formatting section in the documentation * linking to internal hash #formatting that does not exist (line 338) formatting section in the documentation * linking to internal hash #formatting that does not exist (line 342) formatting section in the documentation * linking to internal hash #formatting that does not exist (line 346) formatting section in the documentation HTML-Proofer found 9 failures! Signed-off-by: Sebastiaan van Stijn --- Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 5179ac539caa..709a37039ed2 100644 --- a/Dockerfile +++ b/Dockerfile @@ -66,11 +66,12 @@ EOT # htmlproofer checks for broken links FROM gem AS htmlproofer-base # FIXME(thaJeztah): remove temporary exclusion rule for buildx_build once anchor links are updated. +# FIXME(thaJeztah): remove temporary exclusion rule for commandline/cli once https://github.com/docker/cli/pull/3525 is merged. RUN --mount=type=bind,from=generate,source=/out,target=_site < /results 2>&1 rc=$? if [[ $rc -eq 0 ]]; then