Skip to content

Conversation

@gakonst
Copy link
Contributor

@gakonst gakonst commented Jan 22, 2026

Problem

Clicking on versions in the changelog redirects to https://docs.tempo.xyz/#v1.0.0-rc.5 instead of scrolling to that version on https://docs.tempo.xyz/changelog.

Root Cause

The vocs changelog component used relative hash links (#v1.0.0) which navigated to /#v1.0.0 instead of /changelog#v1.0.0.

Solution

This PR adds a pnpm patch to vocs that prepends window.location.pathname to the href, making the links work correctly on non-root pages.

Upstream

Filed issue for a proper fix: wevm/vocs#387

cc @alexey

The vocs changelog component used relative hash links (#v1.0.0) which
navigated to /#v1.0.0 instead of /changelog#v1.0.0.

This pnpm patch prepends window.location.pathname to the href.

Upstream issue: wevm/vocs#387

Amp-Thread-ID: https://ampcode.com/threads/T-019be6cb-3f1e-745a-b6c3-d8baa90dc49e
Co-authored-by: Amp <amp@ampcode.com>
@vercel
Copy link

vercel bot commented Jan 22, 2026

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

Project Deployment Review Updated (UTC)
tempo-docs Ready Ready Preview, Comment Jan 22, 2026 5:50pm

Request Review

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.

Changelog version outline links use relative hash, break on non-root pages

2 participants