Skip to content

Generate object reference docs#3286

Draft
alexisintech wants to merge 14 commits intomainfrom
aa/generate-object-docs
Draft

Generate object reference docs#3286
alexisintech wants to merge 14 commits intomainfrom
aa/generate-object-docs

Conversation

@alexisintech
Copy link
Copy Markdown
Member

@alexisintech alexisintech commented Apr 13, 2026

⚠️ In conjunction with clerk/javascript#8276
To test:

What does this solve? What changed?

It's time to get our /objects reference docs generated using typedoc!

@vercel
Copy link
Copy Markdown

vercel bot commented Apr 13, 2026

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

Project Deployment Actions Updated (UTC)
clerk-docs Error Error Apr 17, 2026 11:06pm

Request Review

@alexisintech alexisintech changed the title generate clerk object Generate object reference docs Apr 13, 2026
@SarahSoutoul
Copy link
Copy Markdown
Contributor

SarahSoutoul commented Apr 15, 2026

Okay, have pushed a minor docs review - clerk-options after reviewing the Typedoc output of the shared/clerk-options. Only does two things:

  • Adds a missing sentence which is present on the current docs.
  • Fixes the weird layout caused by wrapping.
Screenshot 2026-04-15 at 3 03 00 pm

Will continue reviewing and push a second docs review with the rest.

@SarahSoutoul
Copy link
Copy Markdown
Contributor

@alexisintech Here is a second docs review pt 2 to just add the Typedoc outputs for the intros of each object.

Noticed they were there, looked good, but weren't being used. Again, if you don't love it, feel free to revert. This is in conjunction with the docs review in javascript repo which documents the intro of the Clerk object better.

@alexisintech
Copy link
Copy Markdown
Member Author

@alexisintech Here is a second docs review pt 2 to just add the Typedoc outputs for the intros of each object.

Noticed they were there, looked good, but weren't being used. Again, if you don't love it, feel free to revert. This is in conjunction with the docs review in javascript repo which documents the intro of the Clerk object better.

me personally, I liked having the intro text in the mdx but your way of using typedoc for the intro text is fine too. I prefer the first way because if we ever want to update copy, we don't have to rely on a clerk/javascript PR (its fine for generated reference content because that's the point of it! but in the name of trying to minimize generating prose). however, either way we decide, I'm impartial ^~^

@SarahSoutoul
Copy link
Copy Markdown
Contributor

me personally, I liked having the intro text in the mdx but your way of using typedoc for the intro text is fine too. I prefer the first way because if we ever want to update copy, we don't have to rely on a clerk/javascript PR (its fine for generated reference content because that's the point of it! but in the name of trying to minimize generating prose). however, either way we decide, I'm impartial ^~^

@alexisintech Yeah that's very fair feedback. Reverted changes: Revert 2nd docs 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