Repository navigation
fix: repair broken Svelte and Playwright links - #14797
Conversation
|
Hello! Thank you for opening your first PR to Astro’s Docs! 🎉 Here’s what will happen next:
|
Lunaria Status Overview🌕 This pull request will trigger status changes. Learn moreBy default, every PR changing files present in the Lunaria configuration's You can change this by adding one of the keywords present in the Tracked Files
Warnings reference
|
|
Preview deployment ✅ Deployment complete!
|
There was a problem hiding this comment.
Nice catch, thanks!
Docs-only change: four URLs in two English pages. No prose, code, or translation files changed, and (en-only) keeps the translation status tracker from being triggered.
Except we want the links to be fixed in the translations as well, so I updated the PR title to remove (en-only) .
What this fixes
Two external links in the English docs point at pages that now return HTTP 404:
src/content/docs/en/recipes/sharing-state-islands.mdxlinks tohttps://svelte.dev/tutorial/writable-storesin three places. The Svelte tutorial was reorganized and that URL 404s.src/content/docs/en/guides/testing.mdxlinks tohttps://playwright.dev/docs/test-advanced#launching-a-development-web-server-during-the-testsfor thewebServeroption. That page 404s; Playwright now documents the option at/docs/test-webserver.Repro (before)
Verified on 2026-10-28 with:
curl -sL -A "Mozilla/5.0 ..." -o /dev/null -w '%{http_code}' <url>Fix
https://svelte.dev/docs/svelte/stores(200).webServerlink now points tohttps://playwright.dev/docs/test-webserver(200).Both replacements were re-checked after editing and return 200.
Verification
curl -sL ... -o /dev/null -w '%{http_code}'→ 200 for both new targets; old targets remain 404.pnpm exec prettier --check <the two changed files>→All matched files use Prettier code style!(note:.prettierignoreexcludes*.mdxin this repo, so these pages are outside Prettier's input set).git diff --check→ no whitespace errors.Docs-only change: four URLs in two English pages. No prose, code, or translation files changed, and
(en-only)keeps the translation status tracker from being triggered.Risk / rollback
Tiny docs-only diff; reverting restores the previous URLs.
AI assistance: prepared with an AI coding agent; I reviewed and ran the checks above.