fix(docs): change sdk overview path to /sdk (#17467)

This commit is contained in:
Yash Atreya
2025-07-17 23:11:22 +05:30
committed by GitHub
parent d4d3e22f79
commit 0fff798cb6
6 changed files with 7 additions and 5 deletions

View File

@@ -25,7 +25,7 @@ import { TrustedBy } from "../components/TrustedBy";
</div>
<div className="flex justify-center space-x-2">
<HomePage.Button href="/run/ethereum" variant="accent">Run a Node</HomePage.Button>
<HomePage.Button href="/sdk/overview" variant="accent">Build a Node</HomePage.Button>
<HomePage.Button href="/sdk" variant="accent">Build a Node</HomePage.Button>
<HomePage.Button href="/introduction/why-reth">Why Reth?</HomePage.Button>
</div>
</div>
@@ -117,7 +117,7 @@ import { TrustedBy } from "../components/TrustedBy";
</div>
<div className="pl-2 pr-2 max-lg:pb-3 max-sm:px-0 max-lg:pl-0 w-1/4 max-lg:w-1/2 max-sm:w-full z-0">
<div className="relative w-full h-[168px] max-lg:h-[142px]">
<a href="/sdk/overview" className="hover:bg-black/2 dark:hover:bg-white/2 border-black/10 dark:border-white/10 border border-solid rounded-lg h-full px-5 py-6 absolute z-10 flex flex-col justify-between w-full vocs_Link vocs_Link_styleless">
<a href="/sdk" className="hover:bg-black/2 dark:hover:bg-white/2 border-black/10 dark:border-white/10 border border-solid rounded-lg h-full px-5 py-6 absolute z-10 flex flex-col justify-between w-full vocs_Link vocs_Link_styleless">
<div className="text-xl font-medium text-black dark:text-white">Customizable</div>
<div className="text-[17px] text-[#919193]">Build custom nodes with tailored transaction handling</div>
</a>

View File

@@ -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

View File

@@ -17,6 +17,8 @@ export const redirects: Record<string, string> = {
'/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',

View File

@@ -136,7 +136,7 @@ export const sidebar: SidebarItem[] = [
items: [
{
text: "Overview",
link: "/sdk/overview"
link: "/sdk"
},
{
text: "Typesystem",

View File

@@ -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')
},