Skip to content

Commit

Permalink
docs: Rename links_ignorelist.json to asciidoc-links-check-config.json
Browse files Browse the repository at this point in the history
In the next commit, we will add additional config entries unrelated to
the ignorelist we currently have.
  • Loading branch information
cfergeau committed Apr 29, 2022
1 parent a4c61d9 commit 6e5d548
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion images/docs-builder/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,4 @@
{ "pattern": "https://console-openshift-console.apps-crc.testing" },
{ "pattern": "http://proxy.example.com" }
]

}
2 changes: 1 addition & 1 deletion images/docs-builder/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 6e5d548

Please sign in to comment.