Skip to content

Sync SDK docs/images so Agent Forge screenshots render - #23

Merged
LinuxDevil merged 1 commit into
mainfrom
docs/sync-sdk-images
Oct 29, 2026
Merged

LinuxDevil merged 1 commit into
mainfrom
docs/sync-sdk-images

Conversation

@LinuxDevil

Copy link
Copy Markdown
Owner

Summary

  • scripts/sync-sdk-docs.mjs now copies the SDK's docs/images/ to images/ on every run (the folder is replaced, so images removed upstream disappear here too).
  • Links that resolve into docs/images/ are rewritten to /images/... instead of falling through to a GitHub blob/ URL, which would not render as an image.
  • The run exits non-zero and lists any page that links to an image the SDK does not have.
  • Includes the regenerated agent-forge.mdx and the 12 Studio screenshots from docs(studio): document the new navigation and screens agent-sdk#765. Other pages that drifted since the last sync were left for the scheduled sync/sdk-docs PR.

The scheduled sync workflow already commits with git add -A, so future image changes flow through it.

Verification

  • node scripts/sync-sdk-docs.mjs <sdk@origin/main>: wrote 72 pages and 12 images, exit 0.
  • mint dev: all 12 <img> on /agent-forge load (naturalWidth 1280); /images/studio-agents.png serves 200 image/png.
  • mint broken-links: no new broken links (the 6 it reports are pre-existing /ar/examples/* links).

🤖 Generated with Claude Code

scripts/sync-sdk-docs.mjs now mirrors the SDK's docs/images/ to images/
(replaced on every run) and rewrites links that resolve into docs/images/
to /images/... instead of GitHub blob URLs. It fails the run if a page
links an image the SDK does not have.

Includes agent-forge.mdx and the 12 Studio screenshots synced from
LinuxDevil/agent-sdk@91fd2236 (PR #765).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@LinuxDevil
LinuxDevil merged commit 381fdde into main Oct 29, 2026
1 of 2 checks passed
@LinuxDevil
LinuxDevil deleted the docs/sync-sdk-images branch October 29, 2026 03:49
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.

1 participant