I'll have a closer look as soon as I have time
Preliminary thoughts: I think Dokka is getting confused with packages. It sees that the package is the same for the page you're referencing, and it sees the referenced class is on the classpath, so it might be thinking that the page must exist as well, whereas it's actually supposed to be an external link