Incorrect document reference path #2093
Labels
bug
An error in the Docusaurus core causing instability or issues with its execution
status: needs triage
This issue has not been triaged by maintainers
🐛 Bug Report
Document references are incorrect when there's a forward slash at the end of the URL. For example, document references in https://learn.flexitanalytics.com/docs/getting-started work, but do NOT work in https://learn.flexitanalytics.com/docs/getting-started/.
It appears that even when I go to https://learn.flexitanalytics.com/docs/getting-started, without the forward slash, that a forward slash is being added. If you click on "Getting Started" in the sidebar, then the forward slash is removed and then references work.
This issue only happens in production, not locally, so I'm guessing that the forward slash is being added by the domain provider.
Have you read the Contributing Guidelines on issues?
Yes.
To Reproduce
Expected behavior
Document references should work, regardless of / or not
Actual Behavior
Doc references do not work with / at end of URL
Reproducible Demo
The repository is https://github.com/ataft/flexit-docs, but the issue does not happen locally. It's only happening on Github Pages using a Custom Domain. Follow the steps in "To Reproduce" above as the demo.
The text was updated successfully, but these errors were encountered: