/**
 * Creating a sidebar enables you to:
 - create an ordered group of docs
 - render a sidebar for each doc of that group
 - provide next/previous navigation

 The sidebars can be generated from the filesystem, or explicitly defined here.

 Create as many sidebars as you want.
 */

module.exports = {
    documentation: [
        'user_guide/index',
        {
            '👶 First steps': [
                'user_guide/unleash_overview',
                'user_guide/important-concepts',
                'user_guide/quickstart',
            ],
        },
        {
            label: '🛠 How-to guides',
            type: 'category',
            collapsible: true,
            link: {
                type: 'generated-index',
                title: 'How-to guides',
                description: 'Step-by-step recipes for you to follow',
                slug: '/how-to',
            },
            items: [
                'how-to/how-to-add-strategy-constraints',
                'how-to/how-to-define-custom-context-fields',
                'how-to/how-to-use-custom-strategies',

                'advanced/sso-open-id-connect',
                'advanced/sso-saml',
                'advanced/sso-saml-keycloak',
                'advanced/sso-google',
                'advanced/api_access',
                'user_guide/api-token',
                'user_guide/user-management',
                'user_guide/create_feature_toggle',
            ],
        },
        {
            label: '📖 Reference documentation',
            type: 'category',
            collapsible: true,
            items: [
                {
                    'Unleash concepts': [
                        'user_guide/activation_strategy',
                        'advanced/archived_toggles',
                        'advanced/audit_log',
                        'advanced/custom_activation_strategy',
                        'user_guide/environments',
                        'advanced/feature_toggle_types',
                        'advanced/toggle_variants',
                        'user_guide/projects',
                        'user_guide/rbac',
                        'advanced/enterprise-authentication',
                        'advanced/stickiness',
                        'advanced/strategy_constraints',
                        'advanced/tags',
                        'user_guide/technical_debt',
                        'user_guide/unleash_context',
                    ],
                },
                {
                    type: 'category',
                    link: { type: 'doc', id: 'api/index' },
                    label: 'APIs',
                    items: [
                        {
                            'Admin API': [
                                'api/admin/addons',
                                'api/admin/context',
                                'api/admin/events',
                                'api/admin/feature-toggles-v2',
                                'api/admin/feature-types',
                                'api/admin/features',
                                'api/admin/features-archive',
                                'api/admin/metrics',
                                'api/admin/projects',
                                'api/admin/state',
                                'api/admin/strategies',
                                'api/admin/user-admin',
                            ],
                            'Client API': [
                                'api/client/features',
                                'api/client/metrics',
                                'api/client/register',
                            ],
                            'System API': [
                                'api/internal/internal',
                                'api/internal/health',
                            ],
                        },
                        'api/open_api',
                    ],
                },
                {
                    'Unleash SDKs': [
                        'sdks/index',
                        'sdks/unleash-proxy',
                        {
                            type: 'category',
                            label: 'Server-side SDKs',
                            items: [
                                'sdks/go_sdk',
                                'sdks/java_sdk',
                                'sdks/node_sdk',
                                'sdks/php_sdk',
                                'sdks/python_sdk',
                                'sdks/ruby_sdk',
                                {
                                    type: 'link',
                                    href: 'https://github.com/unleash/unleash-client-rust',
                                    label: 'Rust SDK',
                                },
                                'sdks/dot_net_sdk',
                            ],
                        },
                        {
                            type: 'category',
                            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',
                        },
                    ],
                    'Deploy and manage Unleash': [
                        'deploy/getting_started',
                        'deploy/configuring_unleash',
                        'deploy/securing_unleash',
                        'deploy/email',
                        'deploy/google_auth',
                        'deploy/database-setup',
                        'deploy/database_backup',
                        'deploy/migration_guide',
                        'deploy/import_export',
                    ],
                },
                {
                    type: 'category',
                    link: { type: 'doc', id: 'addons/index' },
                    items: [
                        'addons/webhook',
                        'addons/slack',
                        'addons/teams',
                        'addons/datadog',
                    ],
                    label: 'Addons',
                },
                {
                    type: 'category',
                    label: 'Integrations',
                    link: { type: 'doc', id: 'integrations/integrations' },
                    items: [
                        {
                            'Jira Server': [
                                'integrations/jira_server_plugin_installation',
                                'integrations/jira_server_plugin_usage',
                            ],
                        },
                        ,
                    ],
                },
            ],
        },
        {
            '🧠 Topic guides': ['topics/a-b-testing'],
        },
    ],
};

@@ -892,32 +892,198 @@
        items: %5B%0A
+                %7B%0A                    API: %5B'advanced/api_access', 'user_guide/api-token'%5D,%0A                    'Feature toggles, strategies, and related': %5B%0A        
                 
@@ -1116,32 +1116,40 @@
 y-constraints',%0A
+        
                 
@@ -1202,32 +1202,40 @@
                 
+    
+    
 'how-to/how-to-u
@@ -1261,54 +1261,215 @@
 s',%0A
-%0A                'advanced/sso-open-id-connect
+                        'user_guide/create_feature_toggle',%0A                    %5D,%0A                    'Users and permissions': %5B%0A                        'how-to/how-to-create-and-assign-custom-project-roles
 ',%0A 
@@ -1487,29 +1487,104 @@
     
+  
-'advanced/sso-saml',%0A
+      'user_guide/user-management',%0A                    %5D,%0A                    SSO: %5B%0A        
     
@@ -1613,24 +1613,34 @@
 sso-
-saml-keycloak',%0A
+open-id-connect',%0A        
     
@@ -1669,17 +1669,23 @@
 sso-
-google',%0A
+saml',%0A        
     
@@ -1710,157 +1710,115 @@
 ced/
-api_access',%0A                'user_guide/api-token',%0A                'user_guide/user-management',%0A                'user_guide/create_feature_toggle'
+sso-saml-keycloak',%0A                        'advanced/sso-google',%0A                    %5D,%0A                %7D
 ,%0A  

create categories and group how-to guides.