Problem/Motivation
In the autogenerated API docs, many inline links lead to 404s.
Steps to reproduce
See https://project.pages.drupalcode.org/api_client/api/drupal-api-client/ap...
An example 404 link is: https://project.pages.drupalcode.org/api_client/api/drupal-api-client/ap...
The md file extension shouldn't be there, and it almost seems like it is using relative links when it shouldn't.
I'm not sure if the Starlight TypeDoc plugin is to blame https://github.com/HiDeoo/starlight-typedoc or perhaps typedoc-plugin-markdown itself https://github.com/tgreyuk/typedoc-plugin-markdown
Issue fork api_client-3433018
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #2
coby.sher commentedGoing to start poking at this.
Comment #3
brianperryComment #4
brianperryWe opened this issue in the starlight-typedocs repo: https://github.com/HiDeoo/starlight-typedoc/issues/32
Comment #5
coby.sher commentedI see others reporting the same issue on GitHub and the maintainer is looking for a minimal reproduction. I'll work on making that available.
Comment #6
coby.sher commentedhttps://github.com/HiDeoo/starlight-typedoc/issues/40#issuecomment-20618...
I was able to reproduce some broken link behavior with a minimal monorepo so hopefully the maintainer can fix or we can understand how we are holding it wrong :)
Comment #7
coby.sher commentedThe maintainer fixed part of the issue in a new release, however upon installing that version and trying it with our docs I still see some broken links.
I'm going to try to update my reproduction to capture these cases. Lucky for us the maintainer of that plugin has been very responsive.
Comment #8
coby.sher commentedOur issue might have to do with our typedoc declarations. I'll look into that first: https://typedoc.org/guides/declaration-references/#module-source
Comment #10
coby.sher commentedComment #11
brianperryLatest MR does in fact fix it. Awesome! Deployed the updated docs and everything is working as expected: https://project.pages.drupalcode.org/api_client/api/drupal-api-client/ap...