From b15c0659630bdebc2be2c479a1608ad9272bd62b Mon Sep 17 00:00:00 2001 From: Peter L Jones Date: Sat, 14 Mar 2026 17:55:45 +0000 Subject: [PATCH] Use dockerised linkcheck --- contribute/en/Release-Process.md | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/contribute/en/Release-Process.md b/contribute/en/Release-Process.md index 3ec7bc26a..e7af69396 100644 --- a/contribute/en/Release-Process.md +++ b/contribute/en/Release-Process.md @@ -246,15 +246,22 @@ Upload all the files. Then in the SourceForge web UI, for each of the files uplo ## Website: check links -We have used [linkcheck](https://github.com/filiph/linkcheck) in the past. +We have used [linkcheck](https://github.com/filiph/linkcheck) in the past +to check the links on the local website. +This is now available as a Docker image, so you can run it without installing it directly. +Run the following commands from a terminal: ``` $ git clone https://github.com/jamulussoftware/jamuluswebsite.git $ cd jamuluswebsite $ git checkout next-release $ _po4a-tools/po4a-create-all-targets.sh $ bundle exec jekyll serve -$ linkcheck --no-warnings http://localhost:4000 > linkcheck.log +``` +Note the IP (or use localhost) and port number `jekyll` is using. +Then, in another terminal, run the following, replacing `` and `` with the appropriate values: +``` +$ docker run --network host --rm tennox/linkcheck http://:/ > linkcheck.log ``` ## Release checklist (for a full release)