From d90083fc858a0c123cc0e9d00126222399d4f9b0 Mon Sep 17 00:00:00 2001 From: ronny-mysten <118224482+ronny-mysten@users.noreply.github.com> Date: Fri, 24 May 2024 10:11:35 -0600 Subject: [PATCH] [docs][easy] Added redirtects (#17917) ## Description Fixed error in redirects for the Patterns topics that now are (or soon will be) in the Move Book. Using some temporary redirects to examples.sui, which will go away when content is ported. ## Test plan How did you test the new or updated feature? --- ## Release notes Check each box that your changes affect. If none of the boxes relate to your changes, release notes aren't required. For each box you select, include information after the relevant heading that describes the impact of your changes that a user might notice and any actions they must take to implement updates. - [ ] Protocol: - [ ] Nodes (Validators and Full nodes): - [ ] Indexer: - [ ] JSON-RPC: - [ ] GraphQL: - [ ] CLI: - [ ] Rust SDK: --- docs/site/vercel.json | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/docs/site/vercel.json b/docs/site/vercel.json index 1600ee706ef10..bb61cc9f2e84c 100644 --- a/docs/site/vercel.json +++ b/docs/site/vercel.json @@ -94,6 +94,10 @@ { "source": "/guides/developer/app-examples/trustless-token-swap/:path*", "destination": "/guides/developer/app-examples/trustless-swap/:path*", "permanent": true}, { "source": "/concepts/cryptography/zklogin/zklogin-example", "destination": "/guides/developer/cryptography/zklogin-integration/zklogin-example", "permanent": true}, { "source": "/guides/developer/getting-started/sui-environment", "destination": "/references/contribute/sui-environment", "permanent": true}, - { "source": "/concepts/sui-move-concepts/packages/:path*", "destination": "https://move-book.com/index.html", "permanent": true} + { "source": "/concepts/sui-move-concepts/patterns/capabilities", "destination": "https://move-book.com/programmability/capability.html", "permanent": true }, + { "source": "/concepts/sui-move-concepts/patterns/witness", "destination": "https://move-book.com/programmability/witness-pattern.html", "permanent": true }, + { "source": "/concepts/sui-move-concepts/patterns/hot-potato", "destination": "https://examples.sui.io/patterns/hot-potato.html", "permanent": false }, + { "source": "/concepts/sui-move-concepts/patterns/id-pointer", "destination": "https://move-book.com/storage/uid-and-id.html", "permanent": true }, + { "source": "/concepts/sui-move-concepts/patterns/transferrable-witness", "destination": "https://move-book.com/programmability/witness-pattern.html", "permanent": true } ] }