New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Trailing slash breaks routing in docs website #445
Comments
@dulajra It would be good to figure out a way to fix this using plain markdown, without |
In docusaurus/packages/docusaurus/src/client/normalizeLocation.ts But I don't know whether this would break anything else. |
Actual behavior
When a URL has a trailing slash, any internal links that are not explicit to the file fail.
Expected behavior
Page to render instead of 404
Steps To Reproduce
Click on
Gallery
in the second to last section of the below pageWorks
https://h2oai.github.io/wave/docs/tutorial-monitor
goes tohttps://h2oai.github.io/wave/docs/examples
Doesn't Work
https://h2oai.github.io/wave/docs/tutorial-monitor/
goes tohttps://h2oai.github.io/wave/docs/tutorial-monitor/examples
Proposed Solution (needs testing)
This seems to be a docusaurus problem and they suggest, for now, using .md extensions and relative paths.
We'll need to do a bulk-replace of all our local links
[Gallery](examples)
to use extensions and relative pathsThe text was updated successfully, but these errors were encountered: