mirror of https://github.com/docker/docs.git
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 <github@gone.nl>
This commit is contained in:
parent
380bf39b94
commit
1af8b42db8
|
@ -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 <<EOF
|
||||
htmlproofer ./_site \
|
||||
--disable-external \
|
||||
--internal-domains="docs.docker.com,docs-stage.docker.com,localhost:4000" \
|
||||
--file-ignore="/^./_site/engine/api/.*$/,./_site/registry/configuration/index.html" \
|
||||
--file-ignore="/^./_site/engine/api/.*$/,./_site/registry/configuration/index.html,./_site/engine/reference/commandline/buildx_build/index.html" \
|
||||
--url-ignore="/^/docker-hub/api/latest/.*$/,/^/engine/api/v.+/#.*$/,/^/glossary/.*$/" > /results 2>&1
|
||||
rc=$?
|
||||
if [[ $rc -eq 0 ]]; then
|
||||
|
|
Loading…
Reference in New Issue