gravitational / docs

Source code backing goteleport.com/docs
https://goteleport.com/docs
Apache License 2.0
11 stars 13 forks source link

Fix 404 docs link #440

Closed Tener closed 4 months ago

Tener commented 4 months ago

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.

vercel[bot] commented 4 months ago

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