diff --git a/images/docs-builder/Dockerfile b/images/docs-builder/Dockerfile index 9c49f3a27e..dbf50a3864 100644 --- a/images/docs-builder/Dockerfile +++ b/images/docs-builder/Dockerfile @@ -12,7 +12,7 @@ RUN gem install asciidoctor && \ COPY entrypoint.sh /sbin/entrypoint.sh RUN chmod 755 /sbin/entrypoint.sh -COPY links_ignorelist.json /links_ignorelist.json +COPY asciidoc-link-check-config.json /asciidoc-link-check-config.json VOLUME /docs WORKDIR /docs diff --git a/images/docs-builder/links_ignorelist.json b/images/docs-builder/asciidoc-link-check-config.json similarity index 99% rename from images/docs-builder/links_ignorelist.json rename to images/docs-builder/asciidoc-link-check-config.json index b2f6bd01ed..9a9fc53849 100644 --- a/images/docs-builder/links_ignorelist.json +++ b/images/docs-builder/asciidoc-link-check-config.json @@ -5,5 +5,4 @@ { "pattern": "https://console-openshift-console.apps-crc.testing" }, { "pattern": "http://proxy.example.com" } ] - } diff --git a/images/docs-builder/entrypoint.sh b/images/docs-builder/entrypoint.sh index a100c266cb..97de733e60 100644 --- a/images/docs-builder/entrypoint.sh +++ b/images/docs-builder/entrypoint.sh @@ -13,7 +13,7 @@ case $1 in ;; docs_check_links) echo "Checking if all links are alive in docs source" - find . -name \*.adoc | xargs -n1 asciidoc-link-check -c /links_ignorelist.json -q + find . -name \*.adoc | xargs -n1 asciidoc-link-check -c /asciidoc-link-check-config.json -q ;; docs_serve) cd build