From eef121f588fc6673d490d45199bb60fa38912b2f Mon Sep 17 00:00:00 2001 From: Pablo Fernandez <46322567+TomFern@users.noreply.github.com> Date: Wed, 24 Jun 2026 14:54:45 +0100 Subject: [PATCH] Add `docs-check-links` target --- docs/Makefile | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/docs/Makefile b/docs/Makefile index a1a95d3e3b..74a83ce082 100644 --- a/docs/Makefile +++ b/docs/Makefile @@ -85,6 +85,18 @@ FNR==NR {\ }' "$(1)" "$(2)" >> "$(3)" endef +docs-check-links: docs-image + rm -rf $(PWD)/docs/public + docker run \ + --rm \ + --platform $(DOCKER_PLATFORM) \ + -v $(PWD)/docs/victorialogs:/opt/docs/content/victorialogs \ + -v $(PWD)/docs/public:/opt/docs/public \ + --entrypoint /bin/sh \ + vmdocs-docker-package \ + -c "yarn install && hugo --minify && yarn run check-links" + rm -rf $(PWD)/docs/public + docs-update-victoria-logs-flags: # ---- victoria-logs (cd /tmp/vl-enterprise && make victoria-logs)