Skip to content

fix(docs): configure Svelte documentation cutover - #2400

Merged
dancormier merged 1 commit into
mainfrom
STACKS-855/finish-svelte-hosting
Sep 16, 2026
Merged

dancormier merged 1 commit into
mainfrom
STACKS-855/finish-svelte-hosting

Conversation

@dancormier

@dancormier dancormier commented Sep 15, 2026

Copy link
Copy Markdown
Contributor

Summary

  • document the Svelte documentation branch/domain contract
  • add a forced permanent redirect from the beta hostname to the current hostname
  • use Netlify’s BRANCH value in extractor logging
  • test current-domain generated links and redirect configuration

Jira

STACKS-855

Verification

The current Netlify configuration does not create a stacks-svelte deploy preview for this branch. Verify the generated site locally:

  1. Install and build using the environment Netlify will supply for main:

    npm ci
    BRANCH=main CONTEXT=production npm run storybook:build -w packages/stacks-svelte
  2. Serve the generated output:

    python3 -m http.server 4173 --directory packages/stacks-svelte/netlify/dist
  3. Open these representative pages:

  4. Confirm:

    • the documentation and component story render with their assets;
    • the browser console has no errors or failed asset requests;
    • the site has no beta badge;
    • documentation and story links in llms.txt use https://svelte.stackoverflow.design.
  5. Inspect packages/stacks-svelte/netlify.toml and confirm the forced 301 rule maps:

    https://beta.svelte.stackoverflow.design/*
    → https://svelte.stackoverflow.design/:splat
    

    The hostname redirect cannot execute through the local static server. Its path/query behavior must be verified separately when the beta hostname is attached to the updated Netlify production deployment.

Accessibility

No semantic or interaction changes. Svelte lint completed with no errors or warnings.

Changeset

Not required. This changes documentation and hosting configuration.

Deployment

This PR does not change live Netlify settings. Its merged commit is a prerequisite for the separately reviewed domain cutover.

@netlify

netlify Bot commented Sep 15, 2026

Copy link
Copy Markdown

Deploy Preview for stacks ready!

Name Link
🔨 Latest commit 64a0791
🔍 Latest deploy log https://app.netlify.com/projects/stacks/deploys/6aa9b7b87cb9ed00084a3d34
😎 Deploy Preview https://deploy-preview-2400--stacks.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
🤖 Make changes Run an agent on this branch

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

@netlify

netlify Bot commented Sep 15, 2026

Copy link
Copy Markdown

Deploy Preview for stackoverflow-email ready!

Name Link
🔨 Latest commit 64a0791
🔍 Latest deploy log https://app.netlify.com/projects/stackoverflow-email/deploys/6aa9b7b8e310ab0008e9df2f
😎 Deploy Preview https://deploy-preview-2400--stackoverflow-email.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
🤖 Make changes Run an agent on this branch

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

@changeset-bot

changeset-bot Bot commented Sep 15, 2026

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: 64a0791

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@dancormier
dancormier marked this pull request as ready for review September 16, 2026 20:06
@dancormier
dancormier requested a review from a team as a code owner September 16, 2026 20:06
@dancormier
dancormier merged commit d574c9c into main Sep 16, 2026
27 checks passed
@dancormier
dancormier deleted the STACKS-855/finish-svelte-hosting branch September 16, 2026 20: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