fix(docs): use file-relative .md/.mdx links to prevent URL resolution bugs#106
fix(docs): use file-relative .md/.mdx links to prevent URL resolution bugs#106lennardrother wants to merge 1 commit into
Conversation
… bugs Signed-off-by: Lennard Rother <l.rother@sap.com>
maximiliantech
left a comment
There was a problem hiding this comment.
Hi @lennardrother, thanks for testing this 🥇 I am a bit unsure if we are really solving the URL resolution bugs here. What I do see is that we still have a lot of different file extensions. Some of them being .md and some of them being .mdx. I remember that we have looked into this whole URL resolution and page referencing problem before and we came to the conclusion that we simply use the id field in the header of every file. Shouldn't we use this instead of the file extensions? What do you think?
|
Hi, if I understand correctly setting According to the docs there are two ways of linking: through a URL path (without file extension) or a file path (with file extension). URL paths are resolved according to the page's URL location. This means this link without file extension is rendered as I assume we wanted to link using file path but forgot the extension so Docusaurus uses the URL path. |
What this PR does / why we need it:
Fixes broken links by replacing them with releative links with .md/.mdx extension.
The following links were fixed:
Example:
Screen.Recording.2026-05-22.at.11.54.39.mov
Which issue(s) this PR fixes:
NONE
Special notes for your reviewer:
Release note: