diff options
author | Ian Lewis <ianmlewis@gmail.com> | 2019-07-03 00:38:04 -0400 |
---|---|---|
committer | Ian Lewis <ianlewis@google.com> | 2019-07-10 11:46:34 +0900 |
commit | 6714bee53bbe6cdc3943e59f30ec7765907e80b0 (patch) | |
tree | 5483dd5a678ef82a3bd1251f90471312677f8baf /cmd/gvisor-website | |
parent | 82b3d5ffd3e6448664829f65ee6efe427c615879 (diff) |
Add generate-syscall-docs command.
Adds a new command to automatically generate the syscall compatibility
docs from runsc.
Diffstat (limited to 'cmd/gvisor-website')
-rw-r--r-- | cmd/gvisor-website/main.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cmd/gvisor-website/main.go b/cmd/gvisor-website/main.go index ecae64279..dd6058081 100644 --- a/cmd/gvisor-website/main.go +++ b/cmd/gvisor-website/main.go @@ -37,7 +37,7 @@ var redirects = map[string]string{ // Redirects to compatibility docs. "/c": "/docs/user_guide/compatibility", - "/c/linux/amd64": "/docs/user_guide/compatibility/amd64", + "/c/linux/amd64": "/docs/user_guide/compatibility/linux/amd64", // Deprecated, but links continue to work. "/cl": "https://gvisor-review.googlesource.com", @@ -49,7 +49,7 @@ var prefixHelpers = map[string]string{ "pr": "https://github.com/google/gvisor/pull/%s", // Redirects to compatibility docs. - "c/linux/amd64": "/docs/user_guide/compatibility/amd64/#%s", + "c/linux/amd64": "/docs/user_guide/compatibility/linux/amd64/#%s", // Deprecated, but links continue to work. "cl": "https://gvisor-review.googlesource.com/c/gvisor/+/%s", |