import type { SidebarsConfig } from "@docusaurus/plugin-content-docs";

const sidebars: SidebarsConfig = {
  docsSidebar: [
    "intro",
    {
      type: "category",
      label: "Getting Started",
      items: [
        "getting-started/self-hosting",
        "getting-started/gmail-oauth-setup",
      ],
    },
    {
      type: "category",
      label: "Workflows",
      items: [
        "workflows/find-jobs-and-apply-workflow",
        "workflows/post-application-workflow",
        "workflows/add-an-extractor",
        "workflows/add-a-visa-sponsor-provider",
      ],
    },
    {
      type: "category",
      label: "Core Features",
      items: [
        "features/overview",
        "features/pipeline-run",
        "features/job-search-bar",
        "features/keyboard-shortcuts",
        "features/multi-select-and-bulk-actions",
        "features/orchestrator",
        "features/settings",
        "features/company-skip-list",
        "features/blocked-countries",
        "features/duplicate-jobs",
        "features/reactive-resume",
        "features/in-progress-board",
        "features/ghostwriter",
        "features/post-application-tracking",
        "features/visa-sponsors",
        "features/tracer-links",
      ],
    },
    {
      type: "category",
      label: "Extractors",
      items: [
        "extractors/overview",
        "extractors/supplementary-sources-access-notes",
        "extractors/qajobsboard",
        "extractors/arcdev",
        "extractors/qa-contract-staffing-canada",
        "extractors/canadian-companies-qa-ats",
        "extractors/gradcracker",
        "extractors/jobspy",
        "extractors/adzuna",
        "extractors/hiring-cafe",
        "extractors/startup-jobs",
        "extractors/manual",
        "extractors/ukvisajobs",
      ],
    },
    {
      type: "category",
      label: "Self-Hosting & Ops",
      items: [
        "getting-started/self-hosting",
        "getting-started/gmail-oauth-setup",
        "getting-started/database-backups",
        "troubleshooting/common-problems",
      ],
    },
    {
      type: "category",
      label: "Troubleshooting",
      items: ["troubleshooting/common-problems"],
    },
    {
      type: "category",
      label: "Reference / FAQ",
      items: ["reference/faq", "reference/documentation-style-guide"],
    },
  ],
};

export default sidebars;
