Skip to content

Conversation

@NWylynko
Copy link
Contributor

@NWylynko NWylynko commented Oct 17, 2025

🔎 Previews:

What does this solve?

  • With the addition of distinct variants guides (where a guide is for a specific sdk, filename ends in .ios.mdx, .react.mdx, etc) the edit in github link has broken as it always points to the core guide.

What changed?

  • Updated the build script to embed the sourceFile in the frontmatter, defining where in the github repo you can find the guide.

Reference
https://clerkinc.slack.com/archives/C01QFRQNHSN/p1760736408984219

Sibling pr
https://github.com/clerk/clerk/pull/1725

Checklist

  • I have clicked on "Files changed" and performed a thorough self-review
  • All existing checks pass

@NWylynko NWylynko requested a review from a team as a code owner October 17, 2025 22:15
@vercel
Copy link

vercel bot commented Oct 17, 2025

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

Project Deployment Preview Updated (UTC)
clerk-docs Ready Ready Preview Oct 20, 2025 4:22pm

💡 Enable Vercel Agent with $100 free credit for automated AI reviews

@NWylynko NWylynko requested a review from manovotny October 17, 2025 22:21
@manovotny
Copy link
Contributor

I'd like to understand more. Is a new field even necessary? Wouldn't import.meta.url give us what we want, either here or in the docs file itself?

@NWylynko
Copy link
Contributor Author

NWylynko commented Oct 20, 2025

@manovotny Sorry I'm not sure I follow, import.meta.url is for getting info on the js modules that its used in.

Disregard. The test files were throwing me off with explicitly defining the path. I was thinking we'd have to add that to all docs, but we won't.

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.

3 participants