Skip to content

docs: mount a dev-only devframe hub with a11y and og - #437

Merged
antfu merged 1 commit into
mainfrom
docs/dev-hub
Oct 6, 2026
Merged

antfu merged 1 commit into
mainfrom
docs/dev-hub

Conversation

@antfubot

@antfubot antfubot commented Oct 6, 2026

Copy link
Copy Markdown
Collaborator

The docs site now runs its own devframe hub during pnpm docs, with the a11y and og devframes in the dock. Maintainers can check the accessibility and the social cards of each docs page while they write it.

  • The hub loads only in development ($development in docs/nuxt.config.ts). The production build does not load the hub or the devframes, so the Vercel build needs no built workspace packages.
  • The root pnpm docs script now builds the workspace packages that the docs depend on first. Turbo caches this step.

Created with the help of an agent.

@vercel

vercel Bot commented Oct 6, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
devframe Ready Ready Preview Oct 6, 2026 2:32am UTC

@github-actions

github-actions Bot commented Oct 6, 2026

Copy link
Copy Markdown

👁️‍🗨️ Review this pull request with grouped, summarized diffs at:
👉 https://pulls.review/gh/devframes/devframe/437?from=github-actions[bot]

raw result

💭 analyzed by vercel-ai-gateway/anthropic/claude-sonnet-5
🕰️ 2026-10-06 02:30 UTC
🔗 head c08cb77
🤖 automated by pulls.review

{
  "headSha": "c08cb77cee2f4c417aa1f8dee146b5f399608e07",
  "result": {
    "overallSummary": "Adds a development-only devframe hub to the docs site (a11y + og devframes) so pages can be checked for accessibility and social-card rendering while authored, without affecting the production build. Includes the supporting workspace dependency, lint-ignore, and build-script changes needed to wire this up.",
    "groups": [
      {
        "key": "devframe-hub",
        "label": "Dev-only devframe hub",
        "summary": "Mounts the `@devframes/nuxt/hub` module in `docs/nuxt.config.ts` behind `$development`, wiring in the a11y and og devframes so maintainers can preview accessibility and social cards while writing docs. Adds the required workspace devDependencies, updates `knip.jsonc` to ignore the hub's string-referenced/peer packages, and changes the root `docs` script to build dependent workspace packages via Turbo before starting the docs dev server.",
        "category": "config",
        "filePaths": [
          "docs/nuxt.config.ts",
          "docs/package.json",
          "knip.jsonc",
          "package.json",
          "pnpm-lock.yaml"
        ]
      }
    ],
    "schemaVersion": 1,
    "source": "llm",
    "generatedAt": "2026-10-06T02:30:28.502Z",
    "model": "vercel-ai-gateway/anthropic/claude-sonnet-5",
    "locale": "en"
  }
}

@antfu
antfu merged commit 357d3b3 into main Oct 6, 2026
14 checks passed
@antfu
antfu deleted the docs/dev-hub branch October 6, 2026 04:07

This branch was successfully deployed

1 active deployment
Preview — c08cb77c Deployed Oct 6, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants