/**
 * Sidebar configuration for the Fotospiel docs site.
 */

/** @type {import('@docusaurus/plugin-content-docs').SidebarsConfig} */
const sidebars = {
  docsSidebar: [
    // Ops first: Betriebshandbuch + alle Runbooks
    {
      type: 'category',
      label: 'Ops & Betrieb',
      collapsed: false,
      items: [
        {
          type: 'category',
          label: 'Grundlagen',
          collapsed: false,
          items: [
            'ops/operations-manual',
            'ops/oncall-roles',
            'ops/oncall-cheatsheet',
            'ops/support-escalation-guide',
          ],
        },
        {
          type: 'category',
          label: 'Incidents & DR',
          items: [
            'ops/incidents-major',
            'ops/backup-restore',
            'ops/dr-tenant-event-restore',
            'ops/dr-storage-issues',
          ],
        },
        {
          type: 'category',
          label: 'Medien & Upload',
          items: [
            'ops/media-storage-spec',
            'ops/guest-notification-ops',
            'ops/queue-workers',
            'ops/howto-guest-upload-failing',
            'ops/howto-photobooth-no-photos',
          ],
        },
        {
          type: 'category',
          label: 'Photobooth',
          items: [
            'ops/photobooth/README',
            'ops/photobooth/control_service',
            'ops/photobooth/ops_playbook',
          ],
        },
        {
          type: 'category',
          label: 'Billing',
          items: [
            'ops/billing-ops',
            'ops/howto-tenant-package-not-active',
          ],
        },
        {
          type: 'category',
          label: 'DSGVO & Compliance',
          items: [
            'ops/compliance-dsgvo-ops',
            'ops/howto-dsgvo-delete-photo',
            'ops/howto-tenant-full-export',
          ],
        },
        {
          type: 'category',
          label: 'Deployment',
          items: [
            'ops/deployment/docker',
            'ops/deployment/dokploy',
            'ops/deployment/join-token-analytics',
            'ops/deployment/lokale-podman-adressen',
            'ops/deployment/public-api-incident-playbook',
          ],
        },
        {
          type: 'category',
          label: 'Releases & Tests',
          items: [
            'ops/releases',
            'testing/e2e',
          ],
        },
        {
          type: 'category',
          label: 'Monitoring & Diagramme',
          items: [
            'ops/monitoring-observability',
            'ops/monitoring-glitchtip',
            'ops/diagrams',
          ],
        },
      ],
    },

    // Testing / Qualität
    {
      type: 'category',
      label: 'Testing',
      collapsed: true,
      items: ['testing/e2e'],
    },

    
  ],
};

module.exports = sidebars;
