Skip to content
This repository has been archived by the owner on Nov 22, 2024. It is now read-only.

Docs: Links break due to trailing slash #1298

Closed
sonicdoe opened this issue Jun 26, 2020 · 2 comments
Closed

Docs: Links break due to trailing slash #1298

sonicdoe opened this issue Jun 26, 2020 · 2 comments

Comments

@sonicdoe
Copy link

For example, the “See setup instructions for React Native” link on React Native Support works on /docs/features/react-native (without a trailing slash) but does not work on /docs/features/react-native/ (with a trailing slash).

When opening the page through the sidebar, no trailing slash is added. However, when directly navigating to the URL, the server responds with a permanent redirect, adding a trailing slash.

See also facebook/docusaurus#2394.

@passy
Copy link
Member

passy commented Jun 26, 2020

Thanks, I tried to go through all relative links and tried to absolute-ify them. Please let me know if you find another one!

@passy passy closed this as completed Jun 26, 2020
@sonicdoe
Copy link
Author

Thank you 👍 For future reference, this is the commit: b2e8070.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants