-
Notifications
You must be signed in to change notification settings - Fork 1
feat(react, core, docs-api): added typedoc to generate documentation for component references #57
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
base: main
Are you sure you want to change the base?
Conversation
🚀 Preview deploymentBranch: 📝 Preview URL: https://auth0-universal-components-6cklfwv1i-okta.vercel.app Updated at 2026-01-29T13:12:58.302Z |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #57 +/- ##
========================================
Coverage 84.99% 84.99%
========================================
Files 126 126
Lines 10569 10569
Branches 1352 1157 -195
========================================
Hits 8983 8983
Misses 1586 1586 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
📋 Summary
Introduces TypeDoc for automated API documentation, a GitHub Actions pipeline for auto-deployment to GitHub Pages, and JSDoc ESLint validation to ensure documentation quality.
TypeDoc Integration
typedoc.jsonconfigurationdocs-api.ymlGitHub workflow (triggers on push to main, manual, or after npm publish)pnpm docs:apiandpnpm docs:api:watchESLint JSDoc Validation
eslint-plugin-tsdocwitheslint-plugin-jsdoccheck-param-names(error) - Fails if@paramdoesn't match actual function parameters // will be set to error once we are resolved with existing 358 issuesrequire-param,require-returns,require-jsdoc(warn) - Encourages complete documentationDocumentation Fixes
api-error.ts,theme-utils.ts,token-manager.ts,toast.tsx,theme-provider.tsxuser-mfa-management.tsx// other components will be done as part of separate taskFactorConfigtype with documentationTesting
pnpm lint # 0 errors, ~358 warnings // will be taken care as part of separate task
pnpm docs:api # Generate API docs
Checklist