Skip to content

feat: Typedoc for authenticateRequest, verifyToken, verifyWebhook #2293

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

LekoArts
Copy link
Contributor

@LekoArts LekoArts commented Jun 5, 2025

🔎 Previews:

What does this solve?

Use autogenerated Typedoc for the docs pages of authenticateRequest(), verifyToken(), and verifyWebhook(). This way it'll be tied to the source code, automatically updated 👍

What changed?

It seems that #2292 needs to be merged first so that the "Docs build script" will be happy :)

In the verifyToken and verifyWebhook docs you can see that a "Returns" heading + content was added. Typedoc automatically generates this and I think we should keep it. There can be cases where the return type is a bit more complicated and we want to document it more, we could do it through that. All Typedoc generated pages then will have the same structure.

Checklist

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

Copy link

github-actions bot commented Jun 5, 2025

Hey, here’s your docs preview: https://clerk.com/docs/pr/2293

@LekoArts LekoArts marked this pull request as ready for review June 5, 2025 09:23
@LekoArts LekoArts requested a review from a team as a code owner June 5, 2025 09:23
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