Repository: denoland/fresh
File: docs/toc.ts (TypeScript)

Code before:
        ],
      },
      testing: {
        title: "Testing",
        link: "canary",
      },
      plugins: {
        title: "Plugins",
        link: "canary",
        pages: [
          ["cors", "cors", "link:canary"],
          ["csrf", "csrf", "link:canary"],
          ["trailing-slashes", "trailingSlashes", "link:canary"],
          ["tailwindcss", "tailwindcss", "link:canary"],
        ],
      },
      examples: {
        title: "Examples",
        link: "latest",
        pages: [
          ["migration-guide", "Migration Guide", "link:canary"],
          ["daisyui", "daisyUI", "link:canary"],
          ["modifying-the-head", "Modifying the <head>", "link:latest"],
          ["creating-a-crud-api", "Creating a CRUD API", "link:latest"],
          ["rendering-raw-html", "Rendering raw HTML", "link:canary"],
          ["markdown", "Markdown", "link:canary"],
          [
            "sharing-state-between-islands",
            "Sharing state between islands",
            "link:latest",
          ],
          ["active-links", "Active links", "link:canary"],
        ],
      },
    },
  },
  latest: {
    label: FRESH_VERSIONS[0],
    content: {
      introduction: {
        title: "Introduction",
      },
      "getting-started": {
        title: "Getting Started",
        pages: [
          ["create-a-project", "Create a project"],
          ["running-locally", "Running locally"],
          ["create-a-route", "Create a route"],
          ["dynamic-routes", "Dynamic routes"],
          ["custom-handlers", "Custom handlers"],
          ["form-submissions", "Form submissions"],

Review comment (suggestion):
Thought this looked more consistently named, and is similar to v1 docs.

<img width="454" height="242" alt="image" src="https://github.com/user-attachments/assets/82ef797e-2a77-414c-96c5-ecd57c11d8d0" />


Code after:
        ],
      },
      testing: {
        title: "Testing",
        link: "canary",
      },
      plugins: {
        title: "Plugins",
        link: "canary",
        pages: [
          ["cors", "cors", "link:canary"],
          ["csrf", "csrf", "link:canary"],
          ["trailing-slashes", "trailingSlashes", "link:canary"],
          ["tailwindcss", "tailwindcss", "link:canary"],
        ],
      },
      examples: {
        title: "Examples",
        link: "latest",
        pages: [
          ["migration-guide", "Migration Guide", "link:canary"],
          ["daisyui", "daisyUI", "link:canary"],
          ["modifying-the-head", "Modifying the <head>", "link:latest"],
          ["creating-a-crud-api", "Creating a CRUD API", "link:latest"],
          ["markdown", "Rendering Markdown", "link:canary"],
          ["rendering-raw-html", "Rendering raw HTML", "link:canary"],
          [
            "sharing-state-between-islands",
            "Sharing state between islands",
            "link:latest",
          ],
          ["active-links", "Active links", "link:canary"],
        ],
      },
    },
  },
  latest: {
    label: FRESH_VERSIONS[0],
    content: {
      introduction: {
        title: "Introduction",
      },
      "getting-started": {
        title: "Getting Started",
        pages: [
          ["create-a-project", "Create a project"],
          ["running-locally", "Running locally"],
          ["create-a-route", "Create a route"],
          ["dynamic-routes", "Dynamic routes"],
          ["custom-handlers", "Custom handlers"],
          ["form-submissions", "Form submissions"],