Integrate docs with the v4 workspace
Merged
MO
3mo ago+108+108+012345678901234567890123456789-109-109-012345678901234567890123456789
This connects the restored docs to the v4 workspace:
- makes the docs package private and gives it the v4 package version
- uses the repository-pinned Mint CLI
- adds
just docsfor starting the local docs site - opens the local docs site automatically
- includes docs validation and broken-link checks in
just checkand CI - checks documentation images and videos for alt text
- documents the local development and validation commands
- updates the workspace lockfile
The original Stagehand green is unchanged. It does not meet Mint’s light-background contrast threshold, so the docs check uses mint a11y --skip-contrast. All other accessibility checks remain enabled.
Summary by cubic
Restores Stagehand docs (v2 and v3) and integrates them with the v4 workspace. Re-enables local docs dev and wires strict docs validation into the root check used by CI.
-
New Features
just docsruns a repo-pinnedmintdev server; no globalmint/mintlifyneeded.- Root
pnpm checkruns the docscheck(mint validate, broken links with anchors/redirects/snippets, andmint a11ywith contrast skipped). - Docs README covers local dev, validation, and publishing.
-
Dependencies
- Migrates from
mintlifytomintvia the workspace catalog; bumps tomint@4.2.742. - Sets
@browserbasehq/stagehand-docsto4.0.0and private; adds Mint packages tominimumReleaseAgeExclude; updates the lockfile.
- Migrates from