Generate backend docs#3445
Conversation
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
@alexisintech Left a small docs review - user addressing the following issue. The examples for |
Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com> Co-authored-by: Sarah Soutoul <sarah@clerk.dev>
Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com> Co-authored-by: Sarah Soutoul <sarah@clerk.dev>
|
@alexisintech Retrieve -> get - keep consistency -> Made a small prose consistency pass across the backend I noticed one more thing consistency wise for the method pages that have a layout with Usage and then a Basic heading. Some have the backend usage partial after the Usage heading and some after the Basic heading. To me, it should be after Usage heading as it applies to all examples, but didn't want to do anything to see which way you'd want to go. Regardless, we should make it consistent:
|
|
@alexisintech One thing I noticed is there is a bit of inconsistency with capitalization in the sidebar. For e.g., the following:
I think we either go with the consistency of having the second word capitalized for all or we capitalize the second word when that's the norm in the doc, what do you think?
Also should User, Organization, Client and Instance be -> Users, Organizations, Clients and Instances to align with the rest? |
those are Clerk-specific terms, which always get capitalized in the docs |
I don't know if I follow here sorry. If Enterprise Connections and Agent Tasks are Clerk-specific terms, they don't seem to be capitalized in the docs? And then I can see Waitlist Entries and M2M Tokens were changed so that's all good / makes sense. @alexisintech |
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: Alexis Aguilar <98043211+alexisintech@users.noreply.github.com>
|
This PR modifies files in the 'clerk-typedoc/' folder. These files are auto-generated from the clerk/javascript repository and should not be edited directly. To make changes to TypeDoc documentation:
Thanks for contributing! 🙏 |
The page was added on main by the Typedoc migration (#3445) after this branch's original change, so it missed the include the other API keys reference pages received. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>




To test:
pnpm run typedoc:generate:skip-build(as long as you haveclerk-docsandclerk/javascriptsymlinked; see theclerk/clerk README.md)clerk/clerk, runpnpm run dev)What does this solve? What changed?
Generates the Backend reference docs from Typedoc. Across every Backend API resource, hand-written
## Properties/## Parameters/## Returnstables and## Example(s)sections were replaced with<Typedoc />includes, and the sidebar was restructured to group methods by resource.Sidebar restructure
Backendprefix removed from titles in the Types section.New pages — Backend methods
docs/reference/backend/api-keys/get-secret.mdxdocs/reference/backend/domains/{add,delete,list,update}.mdxdocs/reference/backend/enterprise-connections/{create,delete,get,get-list,update}-enterprise-connection.mdxdocs/reference/backend/organization/create-organization-domain.mdxdocs/reference/backend/organization/delete-organization-domain.mdxdocs/reference/backend/organization/get-organization-domain-list.mdxdocs/reference/backend/organization/update-organization-domain.mdxdocs/reference/backend/organization/get-instance-organization-membership-list.mdxdocs/reference/backend/organization/replace-organization-metadata.mdxdocs/reference/backend/user/replace-user-metadata.mdxdocs/reference/backend/user/set-password-compromised.mdxdocs/reference/backend/user/unset-password-compromised.mdxNew pages — Backend types
docs/reference/backend/types/backend-agent-task.mdxdocs/reference/backend/types/backend-m2m-token.mdxdocs/reference/backend/types/backend-machine.mdxdocs/reference/backend/types/backend-machine-scope.mdxdocs/reference/backend/types/backend-organization-domain.mdxdocs/reference/backend/types/backend-sign-in-token.mdxdocs/reference/backend/types/backend-testing-token.mdxdocs/reference/backend/types/deleted-object.mdxdocs/reference/backend/types/domain.mdxRemoved sections
PublicOrganizationDataJSONproperties section removed fromdocs/reference/backend/types/backend-organization-invitation.mdx.## Propertiestables removed from Backend type pages (e.g.billing-plan,billing-subscription,billing-subscription-item,feature) — now sourced from Typedoc.Content updates
## Example(s)headings →## Usage.## Usageheading.deleteDomainsignature aligned with the JS source.Other doc updates outside
docs/reference/backend/docs/reference/objects/organization.mdx— addedcreateOrganizationDomainParamssection andattemptOwnershipVerification/prepareOwnershipVerificationTypedoc method blocks.docs/reference/types/billing-plan-price.mdx— newBillingPlanPricetype page (linked from the manifest under Types).docs/guides/development/testing/overview.mdx— Testing Tokens copy now points atcreateTestingToken()in addition to the Backend API.docs/_partials/user-object.mdx— small clarification pointing metadata writes atupdateUserMetadata().Deadline
Other resources