From b8f3313ae2212233d057d207ce0eb31a742af117 Mon Sep 17 00:00:00 2001 From: Thomas Heartman Date: Thu, 13 Jan 2022 09:21:13 +0100 Subject: [PATCH] docs: group sdks into non-collapsible categories: server and client --- website/sidebars.js | 42 ++++++++++++++++++++++++++++++------------ 1 file changed, 30 insertions(+), 12 deletions(-) diff --git a/website/sidebars.js b/website/sidebars.js index 9b05c794b6..fb94a38511 100644 --- a/website/sidebars.js +++ b/website/sidebars.js @@ -30,18 +30,36 @@ module.exports = { 'Unleash SDKs': [ 'sdks/index', 'sdks/unleash-proxy', - 'sdks/dot_net_sdk', - 'sdks/android_proxy_sdk', - 'sdks/go_sdk', - 'sdks/proxy-ios', - 'sdks/java_sdk', - 'sdks/proxy-javascript', - 'sdks/node_sdk', - 'sdks/php_sdk', - 'sdks/python_sdk', - 'sdks/proxy-react', - 'sdks/ruby_sdk', - { type: 'link', label: 'Community SDKs', href: '/sdks#community-sdks'} + { + type: 'category', + collapsible: false, + label: 'Server-side SDKs', + items: [ + 'sdks/go_sdk', + 'sdks/java_sdk', + 'sdks/node_sdk', + 'sdks/php_sdk', + 'sdks/python_sdk', + 'sdks/ruby_sdk', + 'sdks/dot_net_sdk', + ], + }, + { + type: 'category', + collapsible: false, + label: 'Client-side SDKs', + items: [ + 'sdks/android_proxy_sdk', + 'sdks/proxy-ios', + 'sdks/proxy-javascript', + 'sdks/proxy-react', + ], + }, + { + type: 'link', + label: 'Community SDKs', + href: '/sdks#community-sdks', + }, ], Addons: [ 'addons/index',