Skip to content
This repository was archived by the owner on Jan 8, 2025. It is now read-only.

Fix 404 docs link #440

Merged
merged 1 commit into from
Mar 7, 2024
Merged

Fix 404 docs link #440

merged 1 commit into from
Mar 7, 2024

Conversation

Tener
Copy link
Contributor

@Tener Tener commented Mar 7, 2024

The 404 page for docs is using <Link href="/docs/"> to generate a link to the top of documentation page. This is incorrect: <Link ...> is already resolved relative to the top URL for docs, which means in practice this is a link to /docs/docs, which doesn't exist.

Live repro: https://goteleport.com/docs/dummy/.

This also affects local development, where 404 page on http://localhost:3000 redirects you to non-existing page http://localhost:3000/docs/docs.

@Tener Tener requested review from avatus and ptgott as code owners March 7, 2024 11:38
Copy link

vercel bot commented Mar 7, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Mar 7, 2024 11:42am

@Tener Tener merged commit 33af72c into main Mar 7, 2024
9 checks passed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants