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:
Michael Pratt
2020-07-01 08:53:44 -07:00
committed by gVisor bot
parent cda2979b63
commit 068716ddf3
3 changed files with 6 additions and 2 deletions
+1 -1
View File
@@ -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",
)
+1 -1
View File
@@ -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">
+4
View File
@@ -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/",