Skip to content

fix: rewrite inter-TIP .md links during sync to fix dead-link build failure#366

Open
decofe wants to merge 1 commit intomainfrom
fix/tip-dead-links
Open

fix: rewrite inter-TIP .md links during sync to fix dead-link build failure#366
decofe wants to merge 1 commit intomainfrom
fix/tip-dead-links

Conversation

@decofe
Copy link
Copy Markdown
Member

@decofe decofe commented Apr 30, 2026

The TIP sync plugin converts .md.mdx but wasn't rewriting internal cross-TIP links (./tip-1011.md in tip-1046.md). Vocs dead-link checker catches these as broken links and fails the build.

Adds a regex rewrite that strips the .md extension from inter-TIP links so Vocs resolves them correctly against the synced .mdx files.

tip-1046.md links to ./tip-1011.md, but synced files are .mdx —
Vocs dead-link checker fails. Strip the .md extension so Vocs
resolves them correctly.

Amp-Thread-ID: https://ampcode.com/threads/T-019ddf27-3326-76bc-a4fc-b6b9ecd707bd
Co-authored-by: Amp <amp@ampcode.com>
@vercel
Copy link
Copy Markdown

vercel Bot commented Apr 30, 2026

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

Project Deployment Actions Updated (UTC)
tempo-docs Ready Ready Preview, Comment Apr 30, 2026 5:13pm

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.

2 participants