Closed rbala19 closed 2 months ago
Experiencing this same problem.
Node 16.8.1 NPM 8.19.2 docusaurus 2.2 docusaurus-plugin-typedoc 0.18.0 typedoc-plugin-markdown 3.14.0
Apologies for the delay on this. The example repo was very useful. Marking this fixed in next
version.
Can be tested with
"docusaurus-plugin-typedoc": "next",
"typedoc-plugin-markdown": "next",
Apologies for the delay on this. The example repo was very useful. Marking this fixed in
next
version.Can be tested with
"docusaurus-plugin-typedoc": "next", "typedoc-plugin-markdown": "next",
Maybe this is off topic, but this issue also occurs in the vuepress-plugin-typedoc package.
vuepress-plugin-typedoc 0.12.1
typedoc-plugin-markdown@4.0.0 docusaurus-plugin-typedoc@1.0.0
Note: I have previously discussed this bug on the docusaurus repo and they referred me here. I have created a reproduction for the bug in this repo: https://github.com/rbala19/docusarus-reprod. Because this project is inherently a docusaurus project, I have included all docusaurus plugins that I used in combination with
typedoc-plugin-markdown
- if that makes it difficult to track the bug down, please let me know and I can make a more minimal reproduction of the error.Reproduction: https://github.com/rbala19/docusarus-reprod
I define a Typescript class in
libs/examples/basic/src/index.ts
. I additionally listlibs/examples/basic/src/index.ts
as a module markdown entrypoint in my docusaurus config indoc_site/docusaurus.config.js
. Interestingly, upon runningdocusaurus build
, any link to the class defined inindex.ts
will be malformed.Seemingly, because index is a keyword used by the compiler, it is also stripped from the URL pointing to the class file. NPM environment is outlined on the reprod. Please let me know if any other information is required.