Repository navigation
fix(repo): link the UserSearchMetadataFilter type to its docs page - #10966
Conversation
The generated reference for `searchUsers()` links its `metadata` parameter's type to a relative `.mdx` path, which 404s on the docs site. `LINK_REPLACEMENTS` had no entry for the type added in #10880. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
🦋 Changeset detectedLatest commit: 017db6f The changes in this PR will be included in the next version bump. This PR includes changesets to release 0 packagesWhen changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
|
|
No actionable comments were generated in the recent review. Walkthrough
Merge Risk:
|
@clerk/astro
@clerk/backend
@clerk/chrome-extension
@clerk/clerk-js
@clerk/electron
@clerk/electron-passkeys
@clerk/eslint-plugin
@clerk/expo
@clerk/expo-biometrics
@clerk/expo-google-signin
@clerk/expo-native-components
@clerk/expo-passkeys
@clerk/express
@clerk/fastify
@clerk/hono
@clerk/localizations
@clerk/mosaic
@clerk/nextjs
@clerk/nuxt
@clerk/react
@clerk/react-router
@clerk/shared
@clerk/tanstack-react-start
@clerk/testing
@clerk/ui
@clerk/upgrade
@clerk/vue
commit: |

Description
The generated reference for
clerkClient.users.searchUsers()links themetadataparameter's type,UserSearchMetadataFilter, to a relative.mdxpath. On the docs site that link 404s: https://clerk.com/docs/reference/backend/user/search-users is about to ship with it broken.Generated links are rewritten to docs URLs by
LINK_REPLACEMENTSin.typedoc/custom-plugin.mjs, and the type added in #10880 has no entry. This adds one, pointing at the type's new page in clerk/clerk#3917, with a test case that uses the link exactly as the generated method page has it.No package changes, so the changeset is empty. After this merges, the TypeDoc sync in
clerk/clerkcan be run by hand against the merge commit, with no release needed.The new test case passes locally (
vitest run __tests__/relative-link-replacements.test.ts, 19 tests). The fullpnpm test:typedocwas not run locally; CI runs it.Checklist
pnpm testruns as expected.pnpm buildruns as expected.Type of change
🤖 Generated with Claude Code