/// Macro: /// XREF4 = <a href="std_$1_$2_$3.html#$4">$(D std.$1.$2.$3.$4)</a> module foo; /// See_Also: $(XREF4 serialization, archives, archive, Archive) void archive () { } The above generates the following documentation: archive.html#Archive">std.serialization.archives.archive.Archive The problem is that "archive" is the name of the function and it's also present as an argument to the XREF4 macro.
THIS ISSUE HAS BEEN MOVED TO GITHUB https://github.com/dlang/dmd/issues/18609 DO NOT COMMENT HERE ANYMORE, NOBODY WILL SEE IT, THIS ISSUE HAS BEEN MOVED TO GITHUB