Closed f0x52 closed 1 month ago
Typedoc also has options for hostedBaseUrl and useHostedBaseUrlForAbsoluteLinks but I believe those are never used for markdown output?
Thankss. This should be fixed in typedoc-plugin-markdown@4.2.8
Typedoc also has options for hostedBaseUrl and useHostedBaseUrlForAbsoluteLinks but I believe those are never used for markdown output?
This is correct. These options were introduced after the publicPath
plugin option was implemented. I have considered supporting but I think the single option is more simplistic. Have updated the docs to reflect this.
What package is the bug related to?
typedoc-plugin-markdown
Describe the issue
When configuring
publicPath
with an url (like the docs suggest), the internal call topath.resolve()
normalizes the//
in thehttp(s)://
protocol bit to just/
, resulting in broken linksI think https://github.com/typedoc2md/typedoc-plugin-markdown/issues/621 was about the same problem
TypeDoc configuration
Expected behavior
Currently
publicPath
has the correct behavior for setting a path prefix, but should preserve the protocol when a full URL is given