From 6d68bdbd0deee478f516c700e120962bf70f90c3 Mon Sep 17 00:00:00 2001 From: Jack Green Date: Thu, 5 Dec 2024 13:45:57 +0000 Subject: [PATCH] Flag antora `warn`ings [DOC-276] (#422) We already need to build the documentation using Antora to check for dead links - currently we log (and fail) if `errors` are introduced, but we can drop to `warn`ings to further improve quality. [Note that it's likely that the existing documentation content _already has these problems_](https://github.com/hazelcast/hz-docs/pull/1397), so until addressed the exiting warnings are going to get flagged again and again. An [example of the output](https://github.com/hazelcast/hz-docs/pull/1399/checks) can be found in [this (dummy) PR](https://github.com/hazelcast/hz-docs/pull/1399). This is an _alternative implementation_ of https://github.com/hazelcast/hz-docs/pull/1397 Fixes: [DOC-276](https://hazelcast.atlassian.net/browse/DOC-276), https://github.com/hazelcast/hz-docs/pull/1397 [DOC-276]: https://hazelcast.atlassian.net/browse/DOC-276?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ --- .github/actions/validate/action.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/actions/validate/action.yml b/.github/actions/validate/action.yml index 885a5674..797dc352 100644 --- a/.github/actions/validate/action.yml +++ b/.github/actions/validate/action.yml @@ -28,4 +28,4 @@ runs: npm i npm i -D yaml@2.6.0 matcher@3.0.0 node load-check-links-playbook.js $GITHUB_REPOSITORY $GITHUB_BASE_REF - ./node_modules/.bin/antora --fetch --to-dir test --log-level=error --log-failure-level=error --extension=hazelcast-docs/lib/antora-link-checker-extension.js check-links-playbook.yml + ./node_modules/.bin/antora --fetch --to-dir test --log-level=warn --log-failure-level=warn --extension=hazelcast-docs/lib/antora-link-checker-extension.js check-links-playbook.yml