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.
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 pagehttp://localhost:3000/docs/docs
.