From b438b9f2cab8ac4623aa0beab36c1f5a1887cbcb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matev=C5=BE=20Jekovec?= Date: Mon, 22 Jan 2024 16:08:01 +0100 Subject: [PATCH] docs: Migrate dapp/sapphire/precompiles chapter to api.docs.oasis.io --- docs/dapp/sapphire/precompiles.md | 1 - redirects.ts | 4 ++++ sidebarDapp.ts | 1 - 3 files changed, 4 insertions(+), 2 deletions(-) delete mode 120000 docs/dapp/sapphire/precompiles.md diff --git a/docs/dapp/sapphire/precompiles.md b/docs/dapp/sapphire/precompiles.md deleted file mode 120000 index 9d4de035b3..0000000000 --- a/docs/dapp/sapphire/precompiles.md +++ /dev/null @@ -1 +0,0 @@ -../../../external/sapphire-paratime/docs/precompiles.md \ No newline at end of file diff --git a/redirects.ts b/redirects.ts index 47d6ef5f51..1cbb5ce7ba 100644 --- a/redirects.ts +++ b/redirects.ts @@ -274,6 +274,10 @@ export const redirectsOptions: Options = { to: '/node/mainnet/eden-upgrade', from: '/node/mainnet/e-upgrade' // #600 Add 23.0 upgrade's name }, + { + to: 'https://api.docs.oasis.io/sol/sapphire-contracts', + from: '/dapp/sapphire/precompiles' // #688 Migrate dapp/sapphire/precompiles chapter to api.docs.oasis.io + }, ], createRedirects(existingPath) { // #119 Add /oasis-core/adr/* -> /adrs/* redirection diff --git a/sidebarDapp.ts b/sidebarDapp.ts index 6ddbff6323..2532947d1c 100644 --- a/sidebarDapp.ts +++ b/sidebarDapp.ts @@ -20,7 +20,6 @@ export const sidebarDapp: SidebarsConfig = { 'dapp/sapphire/browser', 'dapp/sapphire/authentication', 'dapp/sapphire/gasless', - 'dapp/sapphire/precompiles', 'dapp/sapphire/addresses', 'dapp/sapphire/security', {