Skip to content

docs(document-api): wire check-overview-alignment + add status disclaimers (SD-3262)#3453

Merged
caio-pizzol merged 2 commits into
caio-pizzol/SD-673-phase2-docapi-orphansfrom
caio-pizzol/SD-3262-overview-disclaimers
May 22, 2026
Merged

docs(document-api): wire check-overview-alignment + add status disclaimers (SD-3262)#3453
caio-pizzol merged 2 commits into
caio-pizzol/SD-673-phase2-docapi-orphansfrom
caio-pizzol/SD-3262-overview-disclaimers

Conversation

@caio-pizzol
Copy link
Copy Markdown
Contributor

Closes SD-3262. check-overview-alignment.ts was failing on main because apps/docs/document-api/available-operations.mdx was missing two required disclaimers (the script checks for /\balpha\b/i and /subject to (?:breaking )?changes?/i). SD-673 Phase 2 deferred this to a follow-up because the check was blocked by content drift.

Changes:

  • Add a <Warning> block at the top of available-operations.mdx:

    Status: alpha. The Document API surface is stabilizing but is still subject to breaking changes between minor versions. Pin a version when integrating, and review the changelog before upgrading.

    Honest customer-facing copy (not boilerplate to satisfy the script) and satisfies both required patterns.

  • Wire check-overview-alignment into docapi:check. The chain is now: parity → outputs → examples → overview-alignment.

  • Update packages/document-api/scripts/README.md: move check-overview-alignment from "blocked by drift" to "Per-PR (wired)". check-doc-coverage stays in the "blocked" bucket but the framing is now "blocked by design question" with a pointer to SD-3261 (rescoped after the original 5-op drift turned out to be 348 ops; needs a docs-model decision before wiring).

Note on file path: the original SD-3262 description (and the SD-673 Phase 0 audit) referred to overview.mdx. The script actually reads apps/docs/document-api/available-operations.mdx; the constant OVERVIEW_PATH in lib/reference-docs-artifacts.ts points there. This PR edits the correct file.

Stacks on #3452 (SD-673 Phase 2). After both merge, docapi:check gates 4 sub-checks; the only remaining orphan is check-doc-coverage under SD-3261.

Verified: pnpm run docapi:sync:check → exit 0 (parity: 403 ops; outputs: 446 files; examples: 5 found; overview: 404 member paths).

…imers (SD-3262)

`check-overview-alignment.ts` was failing on `main` because the
`apps/docs/document-api/available-operations.mdx` page was missing two
required disclaimers (the script checks for `/\balpha\b/i` and
`/subject to (?:breaking )?changes?/i`). SD-673 Phase 2 deferred this
to a follow-up because it was blocked by content drift.

Changes:

- Add a `<Warning>` block at the top of `available-operations.mdx`:
  "Status: alpha. The Document API surface is stabilizing but is
  still subject to breaking changes between minor versions. Pin a
  version when integrating, and review the changelog before
  upgrading." Honest customer-facing copy (not boilerplate to
  satisfy the script) and satisfies both required patterns.
- Wire `check-overview-alignment` into `docapi:check`. The chain is
  now: parity → outputs → examples → overview-alignment.
- Update `packages/document-api/scripts/README.md`: move
  `check-overview-alignment` from "blocked by drift" to "Per-PR
  (wired)". `check-doc-coverage` stays in the "blocked" bucket but
  the framing is now "blocked by design question" with a pointer to
  SD-3261 (rescoped after the original 5-op drift turned out to be
  348 ops; needs a docs-model decision before wiring).

Note on file path: the original SD-3262 description (and SD-673 Phase
0 audit) referred to `overview.mdx`. The script actually reads
`apps/docs/document-api/available-operations.mdx`; the constant
`OVERVIEW_PATH` in `lib/reference-docs-artifacts.ts` points there.
This PR edits the correct file.

Stacks on #3452 (SD-673 Phase 2). After both merge, `docapi:check`
gates 4 sub-checks; the only remaining orphan is `check-doc-coverage`
under SD-3261.

Verified: `pnpm run docapi:sync:check` → exit 0 (parity 403; outputs
446; examples 5; overview 404 member paths).
@caio-pizzol caio-pizzol requested a review from a team as a code owner May 22, 2026 18:00
@linear-code
Copy link
Copy Markdown

linear-code Bot commented May 22, 2026

SD-3262

Removed alpha status warning from the Document API documentation.
@caio-pizzol caio-pizzol merged commit 506e5e2 into caio-pizzol/SD-673-phase2-docapi-orphans May 22, 2026
4 of 5 checks passed
@caio-pizzol caio-pizzol deleted the caio-pizzol/SD-3262-overview-disclaimers branch May 22, 2026 18:17
@superdoc-bot
Copy link
Copy Markdown
Contributor

superdoc-bot Bot commented May 22, 2026

🎉 This PR is included in superdoc-cli v0.12.0

The release is available on GitHub release

@superdoc-bot
Copy link
Copy Markdown
Contributor

superdoc-bot Bot commented May 22, 2026

🎉 This PR is included in superdoc-sdk v1.11.0

@superdoc-bot
Copy link
Copy Markdown
Contributor

superdoc-bot Bot commented May 22, 2026

🎉 This PR is included in @superdoc-dev/mcp v0.7.0

The release is available on GitHub release

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant