I'm getting a lot of ```w: [:zproto:dokkaGenerateM...
# dokka
e
I'm getting a lot of
Copy code
w: [:zproto:dokkaGenerateModuleHtml] Couldn't resolve link for com.hcl.mainframe.proto.ZSocket in zproto
w: [:zproto:dokkaGenerateModuleHtml] Couldn't resolve link for com.hcl.mainframe.proto.createTcpSocket in zproto
w: [:zproto:dokkaGenerateModuleHtml] Couldn't resolve link for com.hcl.mainframe.proto.charset.ZCharset in zproto
w: [:zproto:dokkaGenerateModuleHtml] Couldn't resolve link for com.hcl.mainframe.proto.ZSerializable in zproto
w: [:zproto:dokkaGenerateModuleHtml] Couldn't resolve link for com.hcl.mainframe.proto.ZSocket in zproto
w: [:zproto:dokkaGenerateModuleHtml] Couldn't resolve link for com.hcl.mainframe.proto.createTcpSocket in zproto
w: [:zproto:dokkaGenerateModuleHtml] Couldn't resolve link for com.hcl.mainframe.proto.charset.ZCharset in zproto
w: [:zproto:dokkaGenerateModuleHtml] Couldn't resolve link for com.hcl.mainframe.proto.ZSerializable in zproto
for links such as
Copy code
New serializable commands can be created by extending the [ZSerializable](com.hcl.mainframe.proto.ZSerializable) interface.
in
MODULE.md
files. I thought this had been fixed for 2.1.0, but maybe I misunderstood the scope of https://github.com/Kotlin/dokka/pull/4264 Happening with Dokka 2.1.0 + Kotlin 2.2.21, and note that those sources are local to the module.
Note that links in the generated doc actually work anyway.
o
Hey! Do you have a reproducer? It's a bit hard to say if that's expected or not 🙂 Did it work with Dokka pre 2.1.0? #4264 is only about symbolic links in the file system > Note that links in the generated doc actually work anyway. Hm, so the only issue is that there are warning logs? That's strange... But without a reproducer project, it will be hard to investigate... For some reason, it reminds me of https://github.com/Kotlin/dokka/issues/4364
e
> Did it work with Dokka pre 2.1.0? It did, I had the fail-on-warn set to true too. I will wait for an update to Kotlin 2.3.0+ on our side to see what happens, as it's very unlikely I'll be able to extract a reproducer. On your side tho, could you try to increase the amount of information that is logged? Currently I can't exactly understand where this is coming from. I'm guessing it's from the MODULE.md file, but who knows. I also see the same warning might be logged from multiple places in the Dokka codebase, so another addition could be the source of the warning, or the source set it was being resolved on.
o
Currently I can't exactly understand where this is coming from. I'm guessing it's from the MODULE.md file, but who knows.
Hm, yes, this is most likely coming from MODULE.md While we do append some location information (in this case, it's just
zproto
, which is likely a module name), we can certainly do better here. I will check, what the issue could be after the new year 🙂
gratitude thank you 1