-
Notifications
You must be signed in to change notification settings - Fork 559
[TOOL-4922] Portal: Fix llms.txt file generation #7490
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
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
|
WalkthroughA new type alias was introduced to represent the expected argument type for the Changes
Sequence Diagram(s)sequenceDiagram
participant fetchTypeScriptDoc
participant typedocModule
participant transform
fetchTypeScriptDoc->>typedocModule: import doc
fetchTypeScriptDoc->>transform: call with doc.default as TransformArg
transform-->>fetchTypeScriptDoc: returns transformed result
Warning Review ran into problems🔥 ProblemsErrors were encountered while retrieving linked issues. Errors (1)
📜 Recent review detailsConfiguration used: CodeRabbit UI 📒 Files selected for processing (1)
🧰 Additional context used📓 Path-based instructions (1)`**/*.{ts,tsx}`: Write idiomatic TypeScript with explicit function declarations ...
📄 Source: CodeRabbit Inference Engine (CLAUDE.md) List of files the instruction was applied to:
🧠 Learnings (2)📓 Common learnings
apps/portal/src/app/references/components/TDoc/fetchDocs/fetchTypeScriptDoc.ts (13)
⏰ Context from checks skipped due to timeout of 90000ms (6)
🔇 Additional comments (2)
✨ Finishing Touches
🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Create a ticket on our support page for assistance with any issues or questions. Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
How to use the Graphite Merge QueueAdd either label to this PR to merge it via the merge queue:
You must have a Graphite account in order to use the merge queue. Sign up using this link. An organization admin has enabled the Graphite Merge Queue in this repository. Please do not merge from GitHub as this will restart CI on PRs being processed by the merge queue. This stack of pull requests is managed by Graphite. Learn more about stacking. |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #7490 +/- ##
=======================================
Coverage 51.92% 51.92%
=======================================
Files 949 949
Lines 64148 64148
Branches 4229 4229
=======================================
Hits 33311 33311
Misses 30731 30731
Partials 106 106
🚀 New features to boost your workflow:
|
size-limit report 📦
|
PR-Codex overview
This PR refines the
fetchTypeScriptDoc
function infetchTypeScriptDoc.ts
by introducing a new typeTransformArg
for improved type safety when calling thetransform
function.Detailed summary
TransformArg
as the first parameter type of thetransform
function.fetchTypeScriptDoc
to castdoc.default
asTransformArg
before passing it totransform
.Summary by CodeRabbit