Skip to content

fix: use root-relative marketing links on previews#686

Merged
emmajam merged 1 commit into
mainfrom
ejh/fix-preview-links
Jul 13, 2026
Merged

fix: use root-relative marketing links on previews#686
emmajam merged 1 commit into
mainfrom
ejh/fix-preview-links

Conversation

@emmajam

@emmajam emmajam commented Jul 13, 2026

Copy link
Copy Markdown
Member

Summary

  • make marketing links use root-relative paths on non-production deployments
  • keep the /developers mount for production deployments
  • add coverage for preview vs production path generation

Verification

  • VITE_USE_HTTP=true pnpm exec vitest run src/marketing/app/_lib/developersPaths.test.ts src/marketing/next-shims.test.ts src/components/DocsHeader.test.ts src/lib/docs-routing.test.ts
  • VITE_USE_HTTP=true pnpm exec tsc --noEmit --pretty false --project tsconfig.json
  • CI=true VITE_USE_HTTP=true pnpm run build

This PR intentionally does not include the Tempo Accounts destination change from docs#672.

@vercel

vercel Bot commented Jul 13, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
tempo-docs Ready Ready Preview, Comment Jul 13, 2026 6:32pm

Request Review

@emmajam emmajam merged commit f3e1016 into main Jul 13, 2026
10 checks passed
@emmajam emmajam deleted the ejh/fix-preview-links branch July 13, 2026 18:39
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