Skip to content

fix(docs): load the site's own images from the build, not from wirecat.dev - #758

Merged
leemour merged 1 commit into
mainfrom
fix/tg-sessions-image
Nov 26, 2026
Merged

leemour merged 1 commit into
mainfrom
fix/tg-sessions-image

Conversation

@leemour

@leemour leemour commented Nov 26, 2026

Copy link
Copy Markdown
Member

Why

The deploy of main fails since #755 (tg 0.136.0): tests/doc-hints.spec.ts:79 cannot find img[src="/telegram-app-login.png"] on /<lang>/docs/tg/sessions in en, ru and es (run). tg's docs now name the image by its full address, https://wirecat.dev/telegram-app-login.png, so it shows on GitHub. Every merge since stays undeployed, the attio pages of #752 among them.

What

The docs remark plugin turns an image address on https://wirecat.dev/ into a site path, so the page loads the image from its own build. The unit test now feeds the full address.

Testing

  • vitest run scripts/docs-usability.test.ts: 13 passed.
  • The browser test runs in the deploy; locally the dev server did not start within the 60 s Playwright wait.

🤖 Generated with Claude Code

…t.dev

tg 0.136.0 names its login screenshot by its full address,
https://wirecat.dev/telegram-app-login.png, so it shows on GitHub too. #755
carried that into the tg sessions pages, and the deploy's browser test, which
looks for /telegram-app-login.png, failed in all three languages. It blocks
every deploy since, the attio pages of #752 among them.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@leemour
leemour merged commit f546785 into main Nov 26, 2026
2 checks passed
@leemour
leemour deleted the fix/tg-sessions-image branch November 26, 2026 01:08
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