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.
This commit is contained in:
Jack Carter
2026-05-13 13:26:39 +02:00
committed by GitHub
parent 2f46f5e4dc
commit 3459beb3c5
+8 -8
View File
@@ -759,10 +759,6 @@ export const docsNavigation = [
title: 'Settings', title: 'Settings',
isOpen: false, isOpen: false,
links: [ links: [
{
title: 'Allow SSH',
href: '/client/allow-ssh',
},
{ {
title: 'Block Inbound Connections', title: 'Block Inbound Connections',
href: '/client/block-inbound-connections', href: '/client/block-inbound-connections',
@@ -771,14 +767,18 @@ export const docsNavigation = [
title: 'Connect on Startup', title: 'Connect on Startup',
href: '/client/connect-on-startup', href: '/client/connect-on-startup',
}, },
{
title: 'Enable Lazy Connections',
href: '/client/enable-lazy-connections',
},
{ {
title: 'Enable Quantum-Resistance', title: 'Enable Quantum-Resistance',
href: '/client/post-quantum-cryptography', href: '/client/post-quantum-cryptography',
}, },
{
title: 'Allow SSH',
href: '/client/allow-ssh',
},
{
title: 'Enable Lazy Connections',
href: '/client/enable-lazy-connections',
},
], ],
}, },
], ],