From 3459beb3c50f8b2f0241202d4bcf4d9a11a3e73d Mon Sep 17 00:00:00 2001 From: Jack Carter <128555021+SunsetDrifter@users.noreply.github.com> Date: Wed, 13 May 2026 13:26:39 +0200 Subject: [PATCH] docs: fix Client > Settings nav jumping to Manage > Peers (#750) The Settings group header auto-navigates to its first child's href on expand. The first child was "Allow SSH" pointing to /client/allow-ssh, which redirects to /manage/peers/ssh, pulling the user out of the Client section. Reorder so real /client/ pages come first; the two redirect entries (Allow SSH, Enable Lazy Connections) stay discoverable at the bottom of the group. --- src/components/NavigationDocs.jsx | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/src/components/NavigationDocs.jsx b/src/components/NavigationDocs.jsx index f3160091..2763b1cc 100644 --- a/src/components/NavigationDocs.jsx +++ b/src/components/NavigationDocs.jsx @@ -759,10 +759,6 @@ export const docsNavigation = [ title: 'Settings', isOpen: false, links: [ - { - title: 'Allow SSH', - href: '/client/allow-ssh', - }, { title: 'Block Inbound Connections', href: '/client/block-inbound-connections', @@ -771,14 +767,18 @@ export const docsNavigation = [ title: 'Connect on Startup', href: '/client/connect-on-startup', }, - { - title: 'Enable Lazy Connections', - href: '/client/enable-lazy-connections', - }, { title: 'Enable Quantum-Resistance', href: '/client/post-quantum-cryptography', }, + { + title: 'Allow SSH', + href: '/client/allow-ssh', + }, + { + title: 'Enable Lazy Connections', + href: '/client/enable-lazy-connections', + }, ], }, ],