This already works for predicates, so if I wrote atom//1 it gets a link to the correct spot. Is it possible to automate this for library mentions, so that if I typed in “library(dcg/basics)” this would get a link to https://www.swi-prolog.org/pldoc/man?section=basics?
If someone pointed me to the right direction I can try to do it. Or is it so that there is no clear 1-to-1 correspondence between the library name (as used inside use_module/1) and the documentation page?