mirror of
https://github.com/netbirdio/gvisor.git
synced 2026-05-22 17:12:49 -07:00
Fix FAQ URL
The existing gvisor.dev/faq link returns 404 because the full URL has mistakenly been capitalized. PiperOrigin-RevId: 319233173
This commit is contained in:
committed by
gVisor bot
parent
cda2979b63
commit
068716ddf3
@@ -33,7 +33,7 @@ doc(
|
||||
name = "FAQ",
|
||||
src = "FAQ.md",
|
||||
category = "User Guide",
|
||||
permalink = "/docs/user_guide/FAQ/",
|
||||
permalink = "/docs/user_guide/faq/",
|
||||
weight = "90",
|
||||
)
|
||||
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
<ul class="list-unstyled">
|
||||
<li><a href="https://github.com/google/gvisor/issues">Issues</a></li>
|
||||
<li><a href="/docs">Documentation</a></li>
|
||||
<li><a href="/docs/user_guide/FAQ">FAQ</a></li>
|
||||
<li><a href="/docs/user_guide/faq">FAQ</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="col-sm-3 col-md-2">
|
||||
|
||||
@@ -35,6 +35,10 @@ var redirects = map[string]string{
|
||||
// For links.
|
||||
"/faq": "/docs/user_guide/faq/",
|
||||
|
||||
// From 2020-05-12 to 2020-06-30, the FAQ URL was uppercase. Redirect that
|
||||
// back to maintain any links.
|
||||
"/docs/user_guide/FAQ/": "/docs/user_guide/faq/",
|
||||
|
||||
// Redirects to compatibility docs.
|
||||
"/c": "/docs/user_guide/compatibility/",
|
||||
"/c/linux/amd64": "/docs/user_guide/compatibility/linux/amd64/",
|
||||
|
||||
Reference in New Issue
Block a user