Skip to content

Commit b15c065

Browse files
committed
Use dockerised linkcheck
1 parent 0703240 commit b15c065

1 file changed

Lines changed: 9 additions & 2 deletions

File tree

contribute/en/Release-Process.md

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -246,15 +246,22 @@ Upload all the files. Then in the SourceForge web UI, for each of the files uplo
246246

247247
## Website: check links
248248

249-
We have used [linkcheck](https://github.com/filiph/linkcheck) in the past.
249+
We have used [linkcheck](https://github.com/filiph/linkcheck) in the past
250+
to check the links on the local website.
251+
This is now available as a Docker image, so you can run it without installing it directly.
250252

253+
Run the following commands from a terminal:
251254
```
252255
$ git clone https://github.com/jamulussoftware/jamuluswebsite.git
253256
$ cd jamuluswebsite
254257
$ git checkout next-release
255258
$ _po4a-tools/po4a-create-all-targets.sh
256259
$ bundle exec jekyll serve
257-
$ linkcheck --no-warnings http://localhost:4000 > linkcheck.log
260+
```
261+
Note the IP (or use localhost) and port number `jekyll` is using.
262+
Then, in another terminal, run the following, replacing `<host>` and `<port>` with the appropriate values:
263+
```
264+
$ docker run --network host --rm tennox/linkcheck http://<host>:<port>/ > linkcheck.log
258265
```
259266

260267
## Release checklist (for a full release)

0 commit comments

Comments
 (0)