-
Notifications
You must be signed in to change notification settings - Fork 134
feat(site): add typedoc docs #3446
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
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
2 Skipped Deployments
|
ecae19f to
aaf96c9
Compare
1969775 to
0e6327a
Compare
|
Deployment failed with the following error: Learn More: https://vercel.com/docs/limits#rate-limits |
Pull Request Review: TypeDoc Documentation GenerationOverviewThis PR adds TypeDoc-based API documentation generation for RivetKit packages. The changes include a new script to generate TypeDoc docs, package configuration updates, and generated documentation output. Positive AspectsWell-Structured ScriptThe
Smart Entry Point ResolutionThe logic to map Proper Git AttributionThe .gitattributes updates correctly mark generated files as Issues and RecommendationsCritical: Generated Files in GitIssue: This PR commits 8,778 lines of generated TypeDoc HTML/CSS/JS files to the repository. Problems:
Recommendation:
Missing CI/CD IntegrationIssue: The Recommendation: Add to prebuild script to ensure TypeDoc is run before deployments so docs stay current. No Test CoverageIssue: The complex Recommendation: Add unit tests for Error Handling Could Be More RobustIssue: Some error cases are silently ignored in the cleanup function (website/scripts/gen-typedoc.ts:257-267). Recommendation: Log errors even if they are non-fatal to aid debugging. Minor: Hardcoded Memory LimitIssue: Recommendation: Make this configurable via environment variable. Security ConsiderationsNo security issues identified. The script only reads from workspace packages, has no external network calls, no arbitrary code execution, and file operations are scoped to project directory. Performance ConsiderationsMemory allocation is high (8GB) but likely necessary for TypeDoc. Consider running generation in separate build step/container and caching generated docs to avoid regeneration. Code Quality AssessmentOverall: Good quality code with room for improvement Strengths:
Areas for Improvement:
Recommendations SummaryMust Fix (Before Merge)
Should Fix (Soon After)
Nice to Have
Great work on implementing this feature! The core logic is solid. Addressing the generated files issue and CI integration will make this production-ready. |
Merge activity
|
0e6327a to
fc129a7
Compare
aaf96c9 to
96c15e2
Compare
PR Review: TypeDoc Documentation GenerationThis PR adds TypeDoc-generated API documentation for RivetKit packages. Overall, this is a valuable addition for developer experience, but there are several considerations: ✅ Strengths
|
Code Review - PR #3446: Add TypeDoc DocumentationThis PR adds TypeDoc-generated API documentation for RivetKit packages. Here's my analysis: OverviewThis PR introduces a comprehensive TypeDoc generation system that:
Positive Aspects ✅
Concerns & Recommendations
|

No description provided.