From 0fff798cb6f3ab29e992fc1684cc25a71809fa09 Mon Sep 17 00:00:00 2001 From: Yash Atreya <44857776+yash-atreya@users.noreply.github.com> Date: Thu, 17 Jul 2025 23:11:22 +0530 Subject: [PATCH] fix(`docs`): change sdk overview path to /sdk (#17467) --- docs/vocs/docs/pages/index.mdx | 4 ++-- docs/vocs/docs/pages/introduction/why-reth.mdx | 2 +- docs/vocs/docs/pages/{sdk/overview.mdx => sdk.mdx} | 0 docs/vocs/redirects.config.ts | 2 ++ docs/vocs/sidebar.ts | 2 +- docs/vocs/vocs.config.ts | 2 +- 6 files changed, 7 insertions(+), 5 deletions(-) rename docs/vocs/docs/pages/{sdk/overview.mdx => sdk.mdx} (100%) diff --git a/docs/vocs/docs/pages/index.mdx b/docs/vocs/docs/pages/index.mdx index a3ba66c393..8778914f4c 100644 --- a/docs/vocs/docs/pages/index.mdx +++ b/docs/vocs/docs/pages/index.mdx @@ -25,7 +25,7 @@ import { TrustedBy } from "../components/TrustedBy";
Run a Node - Build a Node + Build a Node Why Reth?
@@ -117,7 +117,7 @@ import { TrustedBy } from "../components/TrustedBy";
- +
Customizable
Build custom nodes with tailored transaction handling
diff --git a/docs/vocs/docs/pages/introduction/why-reth.mdx b/docs/vocs/docs/pages/introduction/why-reth.mdx index f140c0e312..1b03870a87 100644 --- a/docs/vocs/docs/pages/introduction/why-reth.mdx +++ b/docs/vocs/docs/pages/introduction/why-reth.mdx @@ -46,5 +46,5 @@ Reth isn't just a tool—it's a movement toward better blockchain infrastructure **Ready to build the future?** - [Get Started](/run/ethereum) with running your first Reth node -- [Explore the SDK](/sdk/overview) to build custom blockchain infrastructure +- [Explore the SDK](/sdk) to build custom blockchain infrastructure - [Join the Community](https://github.com/paradigmxyz/reth) and contribute to the future of Ethereum diff --git a/docs/vocs/docs/pages/sdk/overview.mdx b/docs/vocs/docs/pages/sdk.mdx similarity index 100% rename from docs/vocs/docs/pages/sdk/overview.mdx rename to docs/vocs/docs/pages/sdk.mdx diff --git a/docs/vocs/redirects.config.ts b/docs/vocs/redirects.config.ts index 6d30c882a1..82a911b6bf 100644 --- a/docs/vocs/redirects.config.ts +++ b/docs/vocs/redirects.config.ts @@ -17,6 +17,8 @@ export const redirects: Record = { '/run/pruning': '/run/faq/pruning', '/run/ports': '/run/faq/ports', '/run/troubleshooting': '/run/faq/troubleshooting', + // SDK + '/sdk/overview': '/sdk', // Exex '/developers/exex': '/exex/overview', '/developers/exex/how-it-works': '/exex/how-it-works', diff --git a/docs/vocs/sidebar.ts b/docs/vocs/sidebar.ts index 140b056e0a..e51af1c260 100644 --- a/docs/vocs/sidebar.ts +++ b/docs/vocs/sidebar.ts @@ -136,7 +136,7 @@ export const sidebar: SidebarItem[] = [ items: [ { text: "Overview", - link: "/sdk/overview" + link: "/sdk" }, { text: "Typesystem", diff --git a/docs/vocs/vocs.config.ts b/docs/vocs/vocs.config.ts index a13320ae40..56f304a823 100644 --- a/docs/vocs/vocs.config.ts +++ b/docs/vocs/vocs.config.ts @@ -12,7 +12,7 @@ export default defineConfig({ basePath, topNav: [ { text: 'Run', link: '/run/ethereum' }, - { text: 'SDK', link: '/sdk/overview' }, + { text: 'SDK', link: '/sdk' }, { element: React.createElement('a', { href: '/docs', target: '_self' }, 'Rustdocs') },