mirror of https://github.com/docker/docs.git
Dockerfile: remove htmlproofer workaround for buildx_build
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
This commit is contained in:
parent
eb48be2fd2
commit
27f7130024
|
@ -65,12 +65,11 @@ EOT
|
||||||
|
|
||||||
# htmlproofer checks for broken links
|
# htmlproofer checks for broken links
|
||||||
FROM gem AS htmlproofer-base
|
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
|
RUN --mount=type=bind,from=generate,source=/out,target=_site <<EOF
|
||||||
htmlproofer ./_site \
|
htmlproofer ./_site \
|
||||||
--disable-external \
|
--disable-external \
|
||||||
--internal-domains="docs.docker.com,docs-stage.docker.com,localhost:4000" \
|
--internal-domains="docs.docker.com,docs-stage.docker.com,localhost:4000" \
|
||||||
--file-ignore="/^./_site/engine/api/.*$/,./_site/registry/configuration/index.html,./_site/engine/reference/commandline/buildx_build/index.html" \
|
--file-ignore="/^./_site/engine/api/.*$/,./_site/registry/configuration/index.html" \
|
||||||
--url-ignore="/^/docker-hub/api/latest/.*$/,/^/engine/api/v.+/#.*$/,/^/glossary/.*$/" > /results 2>&1
|
--url-ignore="/^/docker-hub/api/latest/.*$/,/^/engine/api/v.+/#.*$/,/^/glossary/.*$/" > /results 2>&1
|
||||||
rc=$?
|
rc=$?
|
||||||
if [[ $rc -eq 0 ]]; then
|
if [[ $rc -eq 0 ]]; then
|
||||||
|
|
Loading…
Reference in New Issue