From ecd041851521e246e888026da7f35844d08df8ac Mon Sep 17 00:00:00 2001 From: Mujahid Khan <106528609+mujahidkay@users.noreply.github.com> Date: Wed, 2 Oct 2024 21:23:51 +0500 Subject: [PATCH 1/2] chore: fix deadlink in nav + remove duplicate orch entry --- main/.vitepress/config.mjs | 30 +----------------------------- main/.vitepress/themeConfig/nav.js | 6 +----- 2 files changed, 2 insertions(+), 34 deletions(-) diff --git a/main/.vitepress/config.mjs b/main/.vitepress/config.mjs index 2ffdf78d6..e770704ab 100644 --- a/main/.vitepress/config.mjs +++ b/main/.vitepress/config.mjs @@ -453,35 +453,6 @@ export default defineConfig({ }, ], }, - { - text: 'Orchestration', - link: '/guides/orchestration/', - collapsed: true, - items: [ - { - text: 'Key Concepts and APIs', - link: '/guides/orchestration/getting-started/key-concepts', - }, - { - text: 'Contract Walkthroughs', - link: '/guides/orchestration/getting-started/contract-walkthroughs', - items: [ - { - text: 'Cross-Chain Swap Example', - link: '/guides/orchestration/getting-started/contract-walkthrough/cross-chain-swap', - }, - { - text: 'Cross-Chain Unbond Example', - link: '/guides/orchestration/getting-started/contract-walkthrough/cross-chain-unbond', - }, - { - text: 'Orchestration Basics', - link: '/guides/orchestration/getting-started/contract-walkthrough/orchestration-basics', - } - ] - }, - ] - }, { text: 'JavaScript Framework', ariaLabel: 'JavaScript Framework', @@ -547,6 +518,7 @@ export default defineConfig({ }, ], }, + { text: 'UI Tutorial', link: '/guides/getting-started/ui-tutorial/', diff --git a/main/.vitepress/themeConfig/nav.js b/main/.vitepress/themeConfig/nav.js index 646e8136b..8fc6039da 100644 --- a/main/.vitepress/themeConfig/nav.js +++ b/main/.vitepress/themeConfig/nav.js @@ -14,13 +14,9 @@ export const nav = [ link: '/guides/orchestration/', }, { - text: 'Key Concepts', + text: 'Key Concepts and APIs', link: '/guides/orchestration/getting-started/key-concepts', }, - { - text: 'API', - link: '/guides/orchestration/getting-started/api', - }, { text: 'Contract Walkthroughs', items: [ From 0c83da5a1faedb75dae5494cd9479bfd8780eac0 Mon Sep 17 00:00:00 2001 From: Mujahid Khan <106528609+mujahidkay@users.noreply.github.com> Date: Wed, 2 Oct 2024 21:31:04 +0500 Subject: [PATCH 2/2] chore: add how orch works to nav --- main/.vitepress/themeConfig/nav.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/main/.vitepress/themeConfig/nav.js b/main/.vitepress/themeConfig/nav.js index 8fc6039da..55651bd91 100644 --- a/main/.vitepress/themeConfig/nav.js +++ b/main/.vitepress/themeConfig/nav.js @@ -34,6 +34,10 @@ export const nav = [ } ] }, + { + text: 'How Orchestration Works', + link: "/guides/orchestration/how-orch-works", + } ] }, {