Slight documentation bug on SWI Prolog website

Slight documentation bug on SWI Prolog website:

On the page

https://eu.swi-prolog.org/pldoc/doc/_SWI_/library/plunit.pl

The top says:

Unit testing environment for SWI-Prolog and SICStus Prolog.
For usage, please visit section('packages/plunit.html').

That URL should either point to

https://www.swi-prolog.org/pldoc/doc/_SWI_/library/plunit.pl

itself or maybe

https://www.swi-prolog.org/pldoc/doc_for?object=section(%27packages/plunit.html%27)

This link works fine as far as I can tell. Why would it be wrong?

1 Like

But it doesn’t. It leads to:

Because the final dot is included in the URL:

http://www.swi-prolog.org/pldoc/package/plunit

vs

http://www.swi-prolog.org/pldoc/package/plunit

Sorr my initial links got messed up by markdown metacharacters. Fixed now.