module.exports = {
    quickstarts: [
        'quickstarts/introduction',
        {
            type: 'category',
            label: 'Integrate ZITADEL Login in your App',
            items: ['quickstarts/login/angular', 'quickstarts/login/react', 'quickstarts/login/flutter', 'quickstarts/login/nextjs'],
            collapsed: false,
        },
        {
            type: 'category',
            label: 'Secure your API',
            items: ['quickstarts/secure-api/go', 'quickstarts/secure-api/dot-net'],
            collapsed: false,
        },
        {
            type: 'category',
            label: 'Call the ZITADEL API',
            items: ['quickstarts/call-zitadel-api/go', 'quickstarts/call-zitadel-api/dot-net'],
            collapsed: false,
        },
        'quickstarts/libs',
        {
            type: 'category',
            label: 'Identity Aware Proxy',
            items: ['quickstarts/identity-proxy/oauth2-proxy'],
            collapsed: false,
        }
    ],
    guides: [
        'guides/introduction',
        {
            type: 'category',
            label: 'Get to know ZITADEL',
            collapsed: false,
            items: [
                'guides/basics/get-started',
                'guides/basics/organizations',
                'guides/basics/projects',
            ],
        },
        {
            type: 'category',
            label: 'Authentication',
            collapsed: false,
            items: [
                'guides/authentication/login-users',
                'guides/authentication/identity-brokering',
                'guides/authentication/serviceusers',
            ],
        },
        {
            type: 'category',
            label: 'Authorization',
            collapsed: false,
            items: [
                'guides/authorization/oauth-recommended-flows',
            ],
        },
        {
            type: 'category',
            label: 'API',
            collapsed: false,
            items: [
                'guides/api/access-zitadel-apis'
            ],
        },
        {
            type: 'category',
            label: 'Customization',
            collapsed: false,
            items: [
                'guides/customization/branding',
                'guides/customization/texts',
            ],
        },
        {
            type: 'category',
            label: 'Installation',
            collapsed: false,
            items: [
                {
                    type: 'category',
                    label: 'CAOS Managed',
                    collapsed: true,
                    items: [
                        'guides/installation/shared-cloud',
                        'guides/installation/managed-dedicated-instance'
                    ],
                },
                {
                    type: 'category',
                    label: 'CAOS Service Packages',
                    collapsed: true,
                    items: [
                        'guides/installation/setup',
                        'guides/installation/setup-orbos',
                        'guides/installation/checkup'
                    ],
                },
                {
                    type: 'category',
                    label: 'Self Managed',
                    collapsed: true,
                    items: [
                        'guides/installation/crd',
                        'guides/installation/gitops',
                        'guides/installation/orbos'
                    ],
                },
            ],
        },
        {
            type: 'category',
            label: 'Trainings',
            collapsed: false,
            items: [
                'guides/trainings/introduction',
                {
                    type: 'category',
                    label: 'Support Service',
                    collapsed: true,
                    items: [
                        'guides/trainings/supportservice/operations',
                        'guides/trainings/supportservice/application',
                        'guides/trainings/supportservice/recurring',
                    ],
                },
            ],
        }
    ],
    apis: [
        'apis/introduction',
        'apis/domains',
        {
            type: 'category',
            label: 'Rate Limits',
            collapsed: true,
            items: [
                'legal/rate-limit-policy',
                'apis/ratelimits/accounts',
                'apis/ratelimits/api',
            ],
        },
        'apis/apis',
        {
            type: 'category',
            label: 'Proto API Definition',
            collapsed: true,
            items: [
                'apis/proto/auth',
                'apis/proto/management',
                'apis/proto/admin',
                'apis/proto/org',
                'apis/proto/user',
                'apis/proto/app',
                'apis/proto/policy',
                'apis/proto/auth_n_key',
                'apis/proto/change',
                'apis/proto/idp',
                'apis/proto/member',
                'apis/proto/metadata',
                'apis/proto/message',
                'apis/proto/text',
                'apis/proto/object',
                'apis/proto/options',
            ],
        },
        {
            type: 'category',
            label: 'Assets API Definition',
            collapsed: false,
            items: [
                'apis/assets/assets',
            ],
        },
        {
            type: 'category',
            label: 'OpenID Connect & OAuth',
            collapsed: true,
            items: [
                'apis/openidoauth/endpoints',
                'apis/openidoauth/scopes',
                'apis/openidoauth/claims',
                'apis/openidoauth/authn-methods',
                'apis/openidoauth/grant-types'
            ],
        },
    ],
    concepts: [
        'concepts/introduction',
        {
            type: 'category',
            label: 'ZITADEL',
            collapsed: true,
            items: [
                'concepts/zitadel/architecture',
                {
                    type: 'category',
                    label: "Object Overview",
                    collapsed: false,
                    items: [
                        'concepts/zitadel/objects/overview',
                        'concepts/zitadel/objects/organizations',
                        'concepts/zitadel/objects/policies',
                        'concepts/zitadel/objects/projects',
                        'concepts/zitadel/objects/applications',
                        'concepts/zitadel/objects/granted_projects',
                        'concepts/zitadel/objects/users',
                        'concepts/zitadel/objects/managers',
                    ],
                },
            ],
        }, {
            type: 'category',
            label: 'General',
            collapsed: true,
            items: [
                'concepts/general/principles',
                'concepts/general/eventstore',
            ],
        },
        {
            type: 'category',
            label: 'Use Cases',
            collapsed: true,
            items: [
                'concepts/usecases/saas'
            ],
        },

    ],
    manuals: [
        'manuals/introduction',
        {
            type: 'category',
            label: 'User',
            items: ['manuals/user-register', 'manuals/user-login', 'manuals/user-password', 'manuals/user-factors', 'manuals/user-email', 'manuals/user-phone', 'manuals/user-social-login',],
            collapsed: false,
        },
    ],
    legal: [
        'legal/introduction',
        'legal/terms-of-service',
        'legal/data-processing-agreement',
        {
            type: 'category',
            label: 'Service Descriptions',
            collapsed: false,
            items: [
                'legal/service-level-description',
                'legal/support-services',
            ],
        },
        {
            type: 'category',
            label: 'Dedicated Instance',
            collapsed: false,
            items: [
                'legal/terms-of-service-dedicated',
                'legal/dedicated-instance-annex',
            ],
        },
        {
            type: 'category',
            label: 'Support Program',
            collapsed: false,
            items: [
                'legal/terms-support-service'
            ],
        },
        {
            type: 'category',
            label: 'Policies',
            collapsed: false,
            items: [
                'legal/privacy-policy',
                'legal/acceptable-use-policy',
                'legal/rate-limit-policy'
            ],
        }
    ],
};