import { defineConfig } from "vitepress";

export default defineConfig({
  title: "SINT Protocol",
  description: "Security, permission, and economic enforcement layer for physical AI.",
  lang: "en-US",
  lastUpdated: true,
  cleanUrls: true,
  ignoreDeadLinks: [
    /^https?:\/\/localhost/,
    /^\.\/\.\.\/\.\.\/AGENTS$/,
    /^\.\/\.\.\/\.\.\/WHITEPAPER$/,
    /^\.\/\.\.\/CONTRIBUTING$/,
  ],
  sitemap: {
    hostname: "https://docs.sint.gg",
  },
  themeConfig: {
    logo: "/sint-logo.svg",
    nav: [
      { text: "Getting Started", link: "/getting-started" },
      { text: "Spec", link: "/SINT_v0.2_SPEC" },
      { text: "Roadmap", link: "/roadmap" },
      { text: "GitHub", link: "https://github.com/sint-ai/sint-protocol" },
    ],
    sidebar: [
      {
        text: "Start Here",
        items: [
          { text: "Overview", link: "/" },
          { text: "Protocol", link: "/protocol" },
          { text: "Getting Started", link: "/getting-started" },
          { text: "Protocol Spec v0.2", link: "/SINT_v0.2_SPEC" },
          { text: "Roadmap", link: "/roadmap" },
        ],
      },
      {
        text: "Guides",
        items: [
          { text: "SINT PDP Interceptor Quickstart", link: "/guides/sint-pdp-interceptor-quickstart" },
          { text: "Docker Deployment", link: "/guides/docker-deployment" },
          { text: "Persistence Baseline", link: "/guides/persistence-baseline" },
          { text: "Gateway Production Hardening", link: "/guides/gateway-production-hardening" },
          { text: "Production Slice Verification", link: "/guides/production-slice-verification" },
          { text: "WebSocket Approvals", link: "/guides/websocket-approvals" },
          { text: "Gazebo ROS2 Validation", link: "/guides/gazebo-ros2-validation" },
          { text: "Isaac Sim Integration", link: "/guides/isaac-sim-integration" },
          { text: "Humanoid Warehouse Pilot", link: "/guides/humanoid-warehouse-pilot" },
          { text: "EU AI Act Conformity Pack", link: "/guides/eu-ai-act-conformity-pack" },
          { text: "Multi-Vendor Fleet Governance", link: "/guides/multivendor-fleet-governance" },
          { text: "Industrial Cell Safety Pack", link: "/guides/industrial-cell-safety-pack" },
          { text: "Industrial Humanoid Shipyard Safety", link: "/guides/industrial-humanoid-shipyard-safety-pack" },
          { text: "Factory Action Pack Demo", link: "/guides/factory-action-pack-demo" },
          { text: "Regulated Consent Extensions", link: "/guides/regulated-consent-extensions" },
          { text: "Open-RMF Handoff Policy Receipts", link: "/guides/open-rmf-handoff-policy-receipts" },
          { text: "MoveIt Manipulation Policy Receipts", link: "/guides/moveit-manipulation-policy-receipts" },
          { text: "Nav2 Navigation Policy Receipts", link: "/guides/nav2-navigation-policy-receipts" },
          { text: "PX4 Offboard Policy Receipts", link: "/guides/px4-offboard-policy-receipts" },
          { text: "LeRobot Policy Actuation Receipts", link: "/guides/lerobot-policy-actuation-receipts" },
          { text: "Solar Field Operations Policy Receipts", link: "/guides/solar-field-operations-policy-receipts" },
          { text: "Sunnybotics T800 ROS2 Integration", link: "/guides/sunnybotics-t800-ros2-integration" },
          { text: "AAIF Release Gate", link: "/guides/aaif-release-gate" },
          { text: "Dependency Review And SBOM Path", link: "/guides/dependency-review-and-sbom" },
          { text: "Secure MCP Deployments", link: "/guides/secure-mcp-deployments" },
          { text: "API Documentation Site", link: "/guides/api-documentation-site" },
          { text: "AutoGen Interop Fixtures", link: "/guides/autogen-interop-fixtures" },
          { text: "NIST Submission Playbook", link: "/guides/nist-submission-playbook" },
          { text: "OpenAI Agents SDK Integration", link: "/guides/openai-agents-sdk-integration" },
          { text: "Claude Desktop Integration", link: "/guides/claude-desktop-integration" },
          { text: "Cursor Integration", link: "/guides/cursor-integration" },
        ],
      },
      {
        text: "Community",
        items: [
          { text: "AAIF Gate Labels", link: "/community/aaif-gate-labels" },
          { text: "AAIF Evidence Dossier", link: "/community/aaif-evidence-dossier" },
          { text: "AAIF RFC-001 Submission Packet", link: "/community/aaif-rfc001-submission-packet" },
          { text: "AAIF Proposal Template", link: "/community/aaif-resubmission-proposal-template" },
          { text: "Adopters And Evidence", link: "/community/adopters" },
          { text: "OpenSSF Gap Tracker", link: "/community/openssf-gap-tracker" },
          { text: "OWASP Agentic Landscape Submission", link: "/community/owasp-agentic-landscape-submission" },
          { text: "Vulnerability Reporting And Response", link: "/security/vulnerability-reporting-and-response" },
          { text: "Discord Launch Runbook", link: "/community/discord-launch-runbook" },
          { text: "Discord Launch Kit", link: "/community/discord-launch-kit" },
          { text: "External Contributor Onboarding", link: "/community/external-contributor-onboarding" },
          { text: "Independent Maintainer Scorecard", link: "/community/independent-maintainer-scorecard" },
          { text: "Persona AI Shipyard Safety Brief", link: "/community/persona-ai-shipyard-safety-brief" },
          { text: "Robotics Collaboration Outreach", link: "/community/robotics-collaboration-outreach-schedule" },
          { text: "Sunnybotics Collaboration Brief", link: "/community/sunnybotics-collaboration-brief" },
          { text: "Sunnybotics Outreach Drafts", link: "/community/sunnybotics-outreach-drafts" },
          { text: "Physical AI Runtime Safety WG", link: "/community/physical-ai-runtime-safety-working-group" },
          { text: "Lovable Site Refresh Prompt", link: "/community/lovable-sint-gg-refresh-prompt" },
          { text: "Website Sync Checklist", link: "/community/website-sync-checklist" },
          { text: "Good First Issues Board", link: "/community/good-first-issues-board" },
          { text: "Collaboration Reply Playbook", link: "/community/open-source-collaboration-replies" },
        ],
      },
      {
        text: "Specs",
        items: [
          { text: "Agent Commerce Governance Profile", link: "/specs/agent-commerce-governance-profile-v1" },
          { text: "Payment Governance Profile", link: "/specs/payment-governance-profile-v1" },
          { text: "Action Ref Explainability Profile", link: "/specs/action-ref-identity-explainability-profile" },
          { text: "APS-SINT Handshake", link: "/specs/aps-sint-handshake-v1" },
          { text: "SINT Industrial Action Profile", link: "/specs/sint-industrial-action-profile" },
        ],
      },
      {
        text: "Roadmaps",
        items: [
          { text: "End-of-Year 2026 Execution Plan", link: "/roadmaps/end-of-year-2026-execution-plan" },
          { text: "AAIF Resubmission 2026", link: "/roadmaps/aaif-resubmission-2026" },
          { text: "Ecosystem Outreach 2026", link: "/roadmaps/ecosystem-outreach-2026" },
          { text: "Factory Action Pack Upgrade Sprints", link: "/roadmaps/factory-action-pack-upgrade-sprints" },
          { text: "Graph-First Coordination Upgrade", link: "/roadmaps/graph-first-coordination-upgrade-2026" },
          { text: "Industrial Humanoid Shipyard Safety Sprint", link: "/roadmaps/industrial-humanoid-shipyard-safety-sprint" },
          { text: "Humanoid Robotics Integrations", link: "/roadmaps/humanoid-robotics-integrations-2026" },
          { text: "Post-Quantum Crypto Agility", link: "/roadmaps/post-quantum-crypto-agility" },
          { text: "Physical AI Governance", link: "/roadmaps/PHYSICAL_AI_GOVERNANCE_2026-2029" },
        ],
      },
      {
        text: "Security Bulletins",
        items: [
          { text: "MITRE ATLAS Candidate Mappings", link: "/security/mitre-atlas-agent-technique-mappings" },
          { text: "April 2026 Bulletin", link: "/security-bulletins/2026-04" },
          { text: "Bulletin Template", link: "/security-bulletins/TEMPLATE" },
        ],
      },
      {
        text: "Profiles",
        items: [
          { text: "Warehouse AMR Policy Template", link: "/profiles/warehouse-amr.policy.template" },
          { text: "Industrial Cell Policy Template", link: "/profiles/industrial-cell.policy.template" },
          { text: "Edge Gateway Policy Template", link: "/profiles/edge-gateway.policy.template" },
          { text: "Solar Field Robot Policy Template", link: "/profiles/solar-field-robot.policy.template" },
          { text: "CrewAI Fail-Closed Template", link: "/profiles/crewai-fail-closed.policy.template" },
        ],
      },
      {
        text: "Compliance & Reports",
        items: [
          { text: "Production Slice Validation Artifact", link: "/reports/production-slice-validation-artifact" },
          { text: "AAIF Release Gate 2026-05-21", link: "/reports/aaif-release-gate-2026-05-21" },
          { text: "Tier Crosswalk Pack", link: "/compliance/tier-crosswalk-pack" },
          { text: "Industrial Benchmark Report", link: "/reports/industrial-benchmark-report" },
          { text: "ROS2 Control-Loop Benchmark", link: "/reports/ros2-control-loop-benchmark" },
          { text: "Certification Bundle Summary", link: "/reports/certification-bundle-summary" },
          { text: "NIST Submission Bundle", link: "/reports/nist-submission-bundle" },
        ],
      },
      {
        text: "Tutorials",
        items: [
          { text: "Hello World Agent", link: "/tutorials/hello-world-agent" },
          { text: "MCP Server with SINT", link: "/tutorials/mcp-server-with-sint" },
        ],
      },
    ],
    socialLinks: [
      { icon: "github", link: "https://github.com/sint-ai/sint-protocol" },
    ],
    editLink: {
      pattern: "https://github.com/sint-ai/sint-protocol/edit/main/docs/:path",
      text: "Edit this page on GitHub",
    },
    search: {
      provider: "local",
    },
    footer: {
      message: "SINT complements MCP and A2A by enforcing delegated authority and safety for physical actions.",
      copyright: "Copyright 2026 SINT contributors",
    },
  },
});
