diff --git a/next.config.mjs b/next.config.mjs index d3b868b1..f1c2f0b4 100644 --- a/next.config.mjs +++ b/next.config.mjs @@ -510,6 +510,22 @@ const nextConfig = { destination: '/manage/dns/custom-zones', permanent: true, }, + // Site-to-site documentation restructure redirects + { + source: '/use-cases/setup-site-to-site-access', + destination: '/manage/site-to-site', + permanent: true, + }, + { + source: '/manage/peers/site-to-site/db-workload-migration', + destination: '/manage/site-to-site/connect-cloud-environments', + permanent: true, + }, + { + source: '/manage/networks/homelab/access-home-network', + destination: '/manage/site-to-site/connect-home-networks', + permanent: true, + }, ] }, rewrites: async () => { diff --git a/src/components/NavigationDocs.jsx b/src/components/NavigationDocs.jsx index a901cb20..34a0dd57 100644 --- a/src/components/NavigationDocs.jsx +++ b/src/components/NavigationDocs.jsx @@ -92,16 +92,6 @@ export const docsNavigation = [ }, ] }, - { - title: 'Connect Site-to-Site', - isOpen: true, - links: [ - { - title: 'Simplify Workload Migrations', - href: '/manage/peers/site-to-site/db-workload-migration' - }, - ] - }, { title: 'Auto Update', href: '/manage/peers/auto-update' }, ] }, @@ -140,13 +130,17 @@ export const docsNavigation = [ { title: 'Route Traffic to Multiple IP resources', href: '/manage/networks/routing-traffic-to-multiple-resources' }, { title: 'Access Restricted Website Domain Resources', href: '/manage/networks/accessing-restricted-domain-resources' }, { title: 'Access Entire Domains Within Networks', href: '/manage/networks/accessing-entire-domains-within-networks' }, - { - title: 'Homelab', - isOpen: true, - links: [ - { title: 'Access Home Network', href: '/manage/networks/homelab/access-home-network' }, - ] - }, + ] + }, + { + title: 'Site-to-Site', + isOpen: false, + links: [ + { title: 'Overview', href: '/manage/site-to-site' }, + { title: 'Connect Home Networks', href: '/manage/site-to-site/connect-home-networks' }, + { title: 'Connect Office Networks', href: '/manage/site-to-site/connect-office-networks' }, + { title: 'Connect Cloud Environments', href: '/manage/site-to-site/connect-cloud-environments' }, + { title: 'Advanced Configuration', href: '/manage/site-to-site/advanced-configuration' }, ] }, { @@ -353,7 +347,6 @@ export const docsNavigation = [ { title: 'USE CASES', links: [ - { title: 'Site-to-Site and Site-to-VPN', href: '/use-cases/setup-site-to-site-access' }, { title: 'Serverless and NetBird', href: '/use-cases/netbird-on-faas' }, { title: 'Routing peers and Kubernetes', href: '/use-cases/routing-peers-and-kubernetes' }, { title: 'Implement Zero Trust with NetBird', href: '/use-cases/implement-zero-trust' }, diff --git a/src/pages/manage/networks/homelab/access-home-network.mdx b/src/pages/manage/networks/homelab/access-home-network.mdx deleted file mode 100644 index 380fed4a..00000000 --- a/src/pages/manage/networks/homelab/access-home-network.mdx +++ /dev/null @@ -1,166 +0,0 @@ -import {Note} from "@/components/mdx"; - -# How to Set up NetBird to Access Your Home Network - -This step-by-step guide describes how to quickly get started with NetBird and access your home network remotely. -You will achieve a secure connection between your entire home network and NetBird, enabling remote devices to access -local network resources through a routing peer using the [NetBird Networks feature](/manage/networks/homelab/access-home-network). - -## Download and Install NetBird -
- -