Skip to content

docs: propagate media facet + fix stale provider reference in VitePress site#77

Merged
ABB65 merged 1 commit into
mainfrom
docs/media-facet-provider-reference
Jul 13, 2026
Merged

docs: propagate media facet + fix stale provider reference in VitePress site#77
ABB65 merged 1 commit into
mainfrom
docs/media-facet-provider-reference

Conversation

@ABB65

@ABB65 ABB65 commented Jul 13, 2026

Copy link
Copy Markdown
Member

Summary

Docs-layer audit after the media-tools (#75) and capability-aware-listing (#73) releases. vitepress build passes clean (no dead links) both before and after — these are consistency/completeness gaps the per-PR edits didn't reach, found by sweeping the whole site rather than just the files each feature PR touched.

What was missing / wrong

reference/providers.md — the canonical RepoProvider reference (biggest gap):

  • The interface listing had mediaBaseUrl? but not the new media?: MediaProvider facet, and no documentation of the MediaProvider contract or media asset/input types at all.
  • mergeBranch signature was stale — missing opts?: { removeSourceBranch?: boolean }.
  • MergeResult was missing the remote? cleanup outcome.
    (The last two have been stale since the merge-source-delete opt-in change shipped — never documented.)

packages/types.md: the Provider Contract Types catalog listed none of the six new media types; RepoProvider and MergeResult row descriptions were stale.

guides/providers.md: the localWorktree capability row listed init, scaffold, …, bulk — but after capability-aware listing those gate on a local projectRoot, not the localWorktree capability. Corrected to match TOOL_REQUIREMENTS and the embedding guide, and added the projectRoot + media-facet gating notes.

packages/cli.md: dropped the dangling "Same 19 tools" for stdio → clarified it serves the 19 core tools (media needs a media-capable provider).

Verified consistent

  • vitepress build → clean, no dead links, sitemap OK.
  • Tool counts: no remaining bare "19 tools" / "17 tools"; "24 (19 core + 5 media)" consistent across README + docs site.
  • SDK bundle-preload content present in packages/sdk.md (from feat(sdk): CDN bundle preload mode for @contentrain/query #70).
  • MediaProvider now documented in reference, types, and both relevant guides; capability matrices in guides/providers.md and guides/embedding-mcp.md now agree.
  • nav/sidebar complete; every link resolves.

Docs site is private: true (not published), so no changeset.

🤖 Generated with Claude Code

…ss site

Audit of the docs LAYER after the media-tools + capability-aware-listing
releases. `vitepress build` passes clean (no dead links); these fix
consistency/completeness gaps the per-PR edits missed:

- reference/providers.md (canonical RepoProvider reference):
  - add `media?: MediaProvider` to the interface listing + a Media facet
    section documenting MediaProvider and the media asset/input types
  - fix `mergeBranch` signature (missing `opts?: { removeSourceBranch? }`)
    and MergeResult (missing `remote?` cleanup outcome) — both stale since
    the merge-source-delete opt-in change, never documented
- packages/types.md: add the six media types to the Provider Contract
  Types catalog; update RepoProvider + MergeResult row descriptions
- guides/providers.md: correct the localWorktree capability row
  (was `init/scaffold/.../bulk`; those gate on projectRoot, not the
  capability) to match TOOL_REQUIREMENTS + the embedding guide, add the
  projectRoot + media-facet gating notes
- packages/cli.md: clarify stdio serves the 19 core tools (media needs a
  media-capable provider) — drop the dangling "Same 19 tools"

Docs site is private (not published), so no changeset.
@netlify

netlify Bot commented Jul 13, 2026

Copy link
Copy Markdown

Deploy Preview for contentrain-ai ready!

Name Link
🔨 Latest commit abf8fe8
🔍 Latest deploy log https://app.netlify.com/projects/contentrain-ai/deploys/6a54c8dd0aa79700083bd913
😎 Deploy Preview https://deploy-preview-77--contentrain-ai.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@ABB65
ABB65 merged commit 3ecf1d1 into main Jul 13, 2026
6 checks passed
@ABB65
ABB65 deleted the docs/media-facet-provider-reference branch July 13, 2026 11:21
@github-actions github-actions Bot locked and limited conversation to collaborators Jul 13, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant