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

// Authored by hand rather than autogenerated, so ordering is a decision and
// not a filename accident.
const sidebars: SidebarsConfig = {
    docs: [
        "index",
        {
            type: "category",
            label: "Getting started",
            collapsed: false,
            items: [
                "getting-started/what-is-vantage",
                "getting-started/cloud-vs-self-hosted",
                "getting-started/self-hosted-install",
                "getting-started/first-login",
                "getting-started/first-server",
                "getting-started/claim-free-licence",
            ],
        },
        {
            type: "category",
            label: "Vantage",
            items: [
                "vantage/servers",
                "vantage/ssh-keys",
                "vantage/workflows",
                "vantage/monitors",
                "vantage/vulnerabilities",
                "vantage/workloads",
                "vantage/notification-channels",
                "vantage/secrets",
                "vantage/browser-console",
                "vantage/audit-log",
                "vantage/settings",
            ],
        },
        {
            type: "category",
            label: "Vantage HQ",
            items: ["hq/accounts-and-signup", "hq/people-and-roles", "hq/cloud-instances", "hq/self-hosted-instances", "hq/licensing-and-entitlements", "hq/billing", "hq/free-tier"],
        },
        {
            type: "category",
            label: "Reference",
            items: ["reference/environment-variables", "reference/rest-api", "reference/agent-config", "reference/ports-and-networking", "reference/troubleshooting"],
        },
        {
            type: "category",
            label: "Operations",
            items: ["operations/upgrading", "operations/backups", "operations/agent-updates"],
        },
    ],
};

export default sidebars;
