-
Notifications
You must be signed in to change notification settings - Fork 322
fix: #1805 llm update #1806
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
fix: #1805 llm update #1806
Conversation
|
@shinokada is attempting to deploy a commit to the Themesberg Team on Vercel. A member of the Team first needs to authorize it. |
WalkthroughAdds a new llm.config.js configuration exporting centralized LLM conversion settings; removes GitHub Links and LLM Link sections (and Changes
Sequence Diagram(s)sequenceDiagram
participant Dev as Developer
participant Config as llm.config.js
participant Conv as MarkdownβLLM Converter
participant Docs as static/llm/**/*.md
Dev->>Config: add centralized settings (srcDir,outDir,format,...)
Config--xConv: provide config at build/run
Conv->>Docs: read source markdown (srcDir)
Conv->>Docs: apply config -> write outputs (outDir, llms.txt, context-full.txt)
note right of Docs: Many docs have GitHub/LLM link sections removed\n(no runtime behavior changes)
Estimated code review effortπ― 2 (Simple) | β±οΈ ~10 minutes
Possibly related PRs
Poem
Pre-merge checks and finishing touchesβ Failed checks (3 warnings)
β Passed checks (2 passed)
β¨ Finishing touches
π§ͺ Generate unit tests (beta)
π Recent review detailsConfiguration used: CodeRabbit UI Review profile: CHILL Plan: Pro π Files selected for processing (1)
π§ Files skipped from review as they are similar to previous changes (1)
β° Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (1)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actionable comments posted: 0
Caution
Some comments are outside the diff and canβt be posted inline due to platform limitations.
β οΈ Outside diff range comments (1)
static/llms.txt (1)
98-101: Fix duplicate/icons:key.Line 101 uses the
/icons:key but points toillustrations.md. This should use/illustrations:as the key instead to avoid duplication and maintain clarity.Apply this diff to fix the key:
# Icons /icons: https://flowbite-svelte.com/llm/icons.md # Illustrations -/icons: https://flowbite-svelte.com/llm/illustrations.md +/illustrations: https://flowbite-svelte.com/llm/illustrations.md
π§Ή Nitpick comments (3)
llm.config.js (3)
31-32: Remove leftover "Add this!" comment.The comment includes "Add this!" which appears to be a reminder note that should be removed now that the configuration is complete.
Apply this diff:
- // Base URL for documentation (REQUIRED for llms.txt) - baseUrl: 'https://flowbite-svelte.com/llm', // Add this! + // Base URL for documentation (REQUIRED for llms.txt) + baseUrl: 'https://flowbite-svelte.com/llm',
34-35: Remove leftover "Add this!" comment.The comment includes "Add this!" which appears to be a reminder note that should be removed now that the configuration is complete.
Apply this diff:
- // Repository URL (REQUIRED for llms.txt) - repo: 'https://github.com/themesberg/flowbite-svelte', // Add this! + // Repository URL (REQUIRED for llms.txt) + repo: 'https://github.com/themesberg/flowbite-svelte',
44-45: Remove leftover "Add this!" comment.The comment includes "Add this!" which appears to be a reminder note that should be removed now that the configuration is complete.
Apply this diff:
- // Package name - pkgName: 'Flowbite Svelte', // Add this! + // Package name + pkgName: 'Flowbite Svelte',
π Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro
π Files selected for processing (89)
llm.config.js(1 hunks)static/llm/components/accordion.md(0 hunks)static/llm/components/alert.md(0 hunks)static/llm/components/avatar.md(0 hunks)static/llm/components/badge.md(0 hunks)static/llm/components/banner.md(0 hunks)static/llm/components/bottom-navigation.md(0 hunks)static/llm/components/breadcrumb.md(0 hunks)static/llm/components/button-group.md(0 hunks)static/llm/components/buttons.md(0 hunks)static/llm/components/card.md(0 hunks)static/llm/components/carousel.md(0 hunks)static/llm/components/clipboard.md(0 hunks)static/llm/components/darkmode.md(0 hunks)static/llm/components/datepicker.md(0 hunks)static/llm/components/device-mockups.md(0 hunks)static/llm/components/drawer.md(0 hunks)static/llm/components/dropdown.md(0 hunks)static/llm/components/footer.md(0 hunks)static/llm/components/forms.md(0 hunks)static/llm/components/gallery.md(0 hunks)static/llm/components/indicators.md(0 hunks)static/llm/components/kbd.md(0 hunks)static/llm/components/list-group.md(0 hunks)static/llm/components/mega-menu.md(0 hunks)static/llm/components/modal.md(0 hunks)static/llm/components/navbar.md(0 hunks)static/llm/components/pagination.md(0 hunks)static/llm/components/popover.md(0 hunks)static/llm/components/progress.md(0 hunks)static/llm/components/rating.md(0 hunks)static/llm/components/sidebar.md(0 hunks)static/llm/components/skeleton.md(0 hunks)static/llm/components/speed-dial.md(0 hunks)static/llm/components/spinner.md(0 hunks)static/llm/components/stepper.md(0 hunks)static/llm/components/table.md(0 hunks)static/llm/components/tabs.md(0 hunks)static/llm/components/timeline.md(0 hunks)static/llm/components/toast.md(0 hunks)static/llm/components/tooltip.md(0 hunks)static/llm/components/typography.md(0 hunks)static/llm/components/video.md(0 hunks)static/llm/context-full.txt(3 hunks)static/llm/extend/button-toggle.md(0 hunks)static/llm/extend/progressradial.md(0 hunks)static/llm/extend/step-indicator.md(0 hunks)static/llm/extend/tags.md(0 hunks)static/llm/extend/virtual-list.md(0 hunks)static/llm/forms/checkbox.md(0 hunks)static/llm/forms/file-input.md(0 hunks)static/llm/forms/floating-label.md(0 hunks)static/llm/forms/input-field.md(0 hunks)static/llm/forms/number-input.md(0 hunks)static/llm/forms/phone-input.md(0 hunks)static/llm/forms/radio.md(0 hunks)static/llm/forms/range.md(0 hunks)static/llm/forms/search-input.md(0 hunks)static/llm/forms/select.md(0 hunks)static/llm/forms/textarea.md(0 hunks)static/llm/forms/timepicker.md(0 hunks)static/llm/forms/toggle.md(0 hunks)static/llm/pages/ai-integration.md(0 hunks)static/llm/pages/colors.md(0 hunks)static/llm/pages/compiler-speed.md(0 hunks)static/llm/pages/customization.md(0 hunks)static/llm/pages/faq-and-tips.md(0 hunks)static/llm/pages/how-to-contribute.md(0 hunks)static/llm/pages/ide-support.md(0 hunks)static/llm/pages/introduction.md(0 hunks)static/llm/pages/license.md(0 hunks)static/llm/pages/quickstart.md(0 hunks)static/llm/pages/theme-provider.md(0 hunks)static/llm/pages/typescript.md(0 hunks)static/llm/plugins/charts.md(0 hunks)static/llm/plugins/datatables.md(0 hunks)static/llm/plugins/wysiwyg.md(0 hunks)static/llm/typography/blockquote.md(0 hunks)static/llm/typography/heading.md(0 hunks)static/llm/typography/hr.md(0 hunks)static/llm/typography/image.md(0 hunks)static/llm/typography/link.md(0 hunks)static/llm/typography/list.md(0 hunks)static/llm/typography/paragraph.md(0 hunks)static/llm/typography/text.md(0 hunks)static/llm/utilities/close-button.md(0 hunks)static/llm/utilities/label.md(0 hunks)static/llm/utilities/toolbar.md(0 hunks)static/llms.txt(2 hunks)
π€ Files with no reviewable changes (86)
- static/llm/components/avatar.md
- static/llm/forms/radio.md
- static/llm/extend/button-toggle.md
- static/llm/components/carousel.md
- static/llm/components/alert.md
- static/llm/components/popover.md
- static/llm/pages/theme-provider.md
- static/llm/forms/select.md
- static/llm/typography/blockquote.md
- static/llm/pages/typescript.md
- static/llm/components/breadcrumb.md
- static/llm/components/footer.md
- static/llm/components/gallery.md
- static/llm/typography/paragraph.md
- static/llm/forms/number-input.md
- static/llm/extend/step-indicator.md
- static/llm/components/pagination.md
- static/llm/components/mega-menu.md
- static/llm/extend/virtual-list.md
- static/llm/forms/floating-label.md
- static/llm/components/drawer.md
- static/llm/pages/license.md
- static/llm/forms/search-input.md
- static/llm/typography/link.md
- static/llm/pages/customization.md
- static/llm/components/darkmode.md
- static/llm/components/accordion.md
- static/llm/utilities/label.md
- static/llm/components/timeline.md
- static/llm/pages/ide-support.md
- static/llm/pages/colors.md
- static/llm/pages/introduction.md
- static/llm/plugins/charts.md
- static/llm/pages/quickstart.md
- static/llm/forms/range.md
- static/llm/typography/hr.md
- static/llm/forms/textarea.md
- static/llm/forms/phone-input.md
- static/llm/components/toast.md
- static/llm/pages/ai-integration.md
- static/llm/utilities/close-button.md
- static/llm/forms/input-field.md
- static/llm/components/sidebar.md
- static/llm/components/table.md
- static/llm/typography/heading.md
- static/llm/components/kbd.md
- static/llm/forms/timepicker.md
- static/llm/components/datepicker.md
- static/llm/forms/toggle.md
- static/llm/components/stepper.md
- static/llm/components/clipboard.md
- static/llm/components/list-group.md
- static/llm/components/device-mockups.md
- static/llm/components/tabs.md
- static/llm/pages/compiler-speed.md
- static/llm/pages/faq-and-tips.md
- static/llm/typography/list.md
- static/llm/components/button-group.md
- static/llm/components/rating.md
- static/llm/pages/how-to-contribute.md
- static/llm/forms/file-input.md
- static/llm/plugins/datatables.md
- static/llm/components/modal.md
- static/llm/utilities/toolbar.md
- static/llm/components/banner.md
- static/llm/components/dropdown.md
- static/llm/components/navbar.md
- static/llm/plugins/wysiwyg.md
- static/llm/components/typography.md
- static/llm/components/buttons.md
- static/llm/components/forms.md
- static/llm/components/tooltip.md
- static/llm/components/spinner.md
- static/llm/components/speed-dial.md
- static/llm/components/skeleton.md
- static/llm/forms/checkbox.md
- static/llm/components/card.md
- static/llm/extend/tags.md
- static/llm/components/indicators.md
- static/llm/components/video.md
- static/llm/components/badge.md
- static/llm/typography/image.md
- static/llm/components/bottom-navigation.md
- static/llm/extend/progressradial.md
- static/llm/typography/text.md
- static/llm/components/progress.md
π§° Additional context used
π§ Learnings (2)
π Learning: 2024-10-18T09:38:03.879Z
Learnt from: Chizaruu
PR: themesberg/flowbite-svelte#1465
File: src/lib/forms/Timepicker.svelte:105-116
Timestamp: 2024-10-18T09:38:03.879Z
Learning: In `Timepicker.svelte`, the `Dropdown` opens as intended and is used exclusively with the 'dropdown' and 'timerange-dropdown' Timepicker types.
Applied to files:
static/llm/context-full.txt
π Learning: 2025-03-20T12:47:33.307Z
Learnt from: superstes
PR: themesberg/flowbite-svelte#0
File: :0-0
Timestamp: 2025-03-20T12:47:33.307Z
Learning: In the Flowbite Svelte library's composite form components like MultiInput, when implementing focus styles, ensure both the container (with focus-within) and the inner input element (with direct focus) have dynamic styling based on the validation state. The input element needs its own focus styles that change to red when inputInvalid=true.
Applied to files:
static/llm/context-full.txt
β° Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (1)
- GitHub Check: Playwright and Lint
π Additional comments (5)
static/llms.txt (1)
8-107: LGTM! URLs are now properly defined.The documentation URLs have been successfully updated from undefined values to concrete URLs, directly addressing issue #1805. The URL structure is consistent throughout, following the pattern
https://flowbite-svelte.com/llm/{category}/{file}.md, and the format complies with the llmstxt.org specification.llm.config.js (1)
1-46: LGTM! Configuration structure is well-organized.The configuration file provides a clear, centralized configuration for the markdown-to-LLM converter. The structure is logical, properties are well-documented with inline comments, and the
baseUrlandrepovalues align with the URLs used instatic/llms.txt. Theignorearray appropriately targets the sections mentioned in the PR objectives (Setup, GitHub Links, LLM Link).static/llm/context-full.txt (3)
1-2: Header properly updated to replace "undefined".The header has been corrected from "undefined Documentation" to "Flowbite Svelte Documentation - Full Context" with a generated timestamp, directly addressing the PR objective to replace undefined values.
8571-8581: Verification partially successful β manual review of remaining concern needed.Primary objectives confirmed:
- β
<LlmLink />components: removed (0 instances found)- β Setup sections: removed (0 instances found)
However, the file contains rendered
undefinedvalues in component examples (lines 16363, 16432, 16624, 16911, 16929, 18467, 21087), such as<Toast color={undefined} ...>and documentation stating "Set thecolorprop toundefined". These appear to be intentional examples showing prop behavior with undefined values, but the original concern about replacing undefined values is ambiguous without clarifying the PR intent.Please confirm whether these rendered
undefinedexamples are intentional documentation or should be replaced with concrete values.
1-2: Generation process verified and working correctly.The
llm.config.jsfile is properly configured, thesvelte-doc-llmtool is installed as a dependency, and the generation process is reproducible via thenpm run llmscript. Verification confirms:
- Configuration file ignores the intended sections (Setup, Installation, GitHub Links, LLM Link) β
- Output structure matches configured order (pages β components β forms β typography β extend β utilities) β
- Ignored sections are absent from context-full.txt β
- Process is documented in package.json and properly scripted β
- File was recently generated and committed β
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actionable comments posted: 1
π Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro
β Files ignored due to path filters (1)
pnpm-lock.yamlis excluded by!**/pnpm-lock.yaml
π Files selected for processing (62)
llm.config.js(1 hunks)package.json(2 hunks)static/llm/components/accordion.md(0 hunks)static/llm/components/avatar.md(0 hunks)static/llm/components/badge.md(0 hunks)static/llm/components/banner.md(0 hunks)static/llm/components/bottom-navigation.md(0 hunks)static/llm/components/breadcrumb.md(0 hunks)static/llm/components/button-group.md(0 hunks)static/llm/components/buttons.md(0 hunks)static/llm/components/carousel.md(0 hunks)static/llm/components/datepicker.md(0 hunks)static/llm/components/device-mockups.md(0 hunks)static/llm/components/dropdown.md(0 hunks)static/llm/components/footer.md(0 hunks)static/llm/components/indicators.md(0 hunks)static/llm/components/kbd.md(0 hunks)static/llm/components/list-group.md(0 hunks)static/llm/components/mega-menu.md(0 hunks)static/llm/components/modal.md(0 hunks)static/llm/components/navbar.md(0 hunks)static/llm/components/pagination.md(0 hunks)static/llm/components/popover.md(0 hunks)static/llm/components/progress.md(0 hunks)static/llm/components/rating.md(0 hunks)static/llm/components/sidebar.md(0 hunks)static/llm/components/skeleton.md(0 hunks)static/llm/components/spinner.md(0 hunks)static/llm/components/stepper.md(0 hunks)static/llm/components/table.md(0 hunks)static/llm/components/tabs.md(0 hunks)static/llm/components/timeline.md(0 hunks)static/llm/components/toast.md(0 hunks)static/llm/components/tooltip.md(0 hunks)static/llm/components/video.md(0 hunks)static/llm/context-full.txt(2 hunks)static/llm/extend/button-toggle.md(0 hunks)static/llm/extend/progressradial.md(0 hunks)static/llm/extend/step-indicator.md(0 hunks)static/llm/extend/tags.md(0 hunks)static/llm/forms/checkbox.md(0 hunks)static/llm/forms/file-input.md(0 hunks)static/llm/forms/floating-label.md(0 hunks)static/llm/forms/input-field.md(0 hunks)static/llm/forms/phone-input.md(0 hunks)static/llm/forms/radio.md(0 hunks)static/llm/forms/range.md(0 hunks)static/llm/forms/search-input.md(0 hunks)static/llm/forms/select.md(0 hunks)static/llm/forms/textarea.md(0 hunks)static/llm/forms/timepicker.md(0 hunks)static/llm/forms/toggle.md(0 hunks)static/llm/pages/faq-and-tips.md(0 hunks)static/llm/plugins/charts.md(0 hunks)static/llm/plugins/datatables.md(0 hunks)static/llm/plugins/wysiwyg.md(0 hunks)static/llm/typography/heading.md(0 hunks)static/llm/typography/hr.md(0 hunks)static/llm/typography/image.md(0 hunks)static/llm/typography/link.md(0 hunks)static/llm/typography/list.md(0 hunks)static/llm/utilities/toolbar.md(0 hunks)
π€ Files with no reviewable changes (59)
- static/llm/components/progress.md
- static/llm/extend/progressradial.md
- static/llm/components/sidebar.md
- static/llm/components/popover.md
- static/llm/forms/textarea.md
- static/llm/components/badge.md
- static/llm/components/device-mockups.md
- static/llm/components/navbar.md
- static/llm/plugins/wysiwyg.md
- static/llm/forms/floating-label.md
- static/llm/plugins/charts.md
- static/llm/components/toast.md
- static/llm/extend/step-indicator.md
- static/llm/components/kbd.md
- static/llm/forms/checkbox.md
- static/llm/components/rating.md
- static/llm/components/list-group.md
- static/llm/forms/phone-input.md
- static/llm/extend/button-toggle.md
- static/llm/components/indicators.md
- static/llm/components/timeline.md
- static/llm/components/carousel.md
- static/llm/components/datepicker.md
- static/llm/components/banner.md
- static/llm/components/accordion.md
- static/llm/typography/hr.md
- static/llm/components/mega-menu.md
- static/llm/forms/select.md
- static/llm/pages/faq-and-tips.md
- static/llm/typography/image.md
- static/llm/typography/heading.md
- static/llm/components/avatar.md
- static/llm/extend/tags.md
- static/llm/components/footer.md
- static/llm/forms/range.md
- static/llm/components/bottom-navigation.md
- static/llm/forms/radio.md
- static/llm/forms/file-input.md
- static/llm/components/spinner.md
- static/llm/forms/search-input.md
- static/llm/components/buttons.md
- static/llm/components/video.md
- static/llm/components/table.md
- static/llm/components/tooltip.md
- static/llm/components/tabs.md
- static/llm/typography/list.md
- static/llm/components/modal.md
- static/llm/utilities/toolbar.md
- static/llm/components/stepper.md
- static/llm/components/pagination.md
- static/llm/components/button-group.md
- static/llm/components/skeleton.md
- static/llm/components/breadcrumb.md
- static/llm/components/dropdown.md
- static/llm/plugins/datatables.md
- static/llm/forms/toggle.md
- static/llm/forms/timepicker.md
- static/llm/forms/input-field.md
- static/llm/typography/link.md
π§ Files skipped from review as they are similar to previous changes (1)
- static/llm/context-full.txt
β° Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (1)
- GitHub Check: Playwright and Lint
π Additional comments (2)
package.json (1)
50-50: LGTM! Dependency updates support the LLM documentation fixes.The version updates, particularly
svelte-doc-llmfrom^0.4.1to^0.5.1, align with the PR objectives to fix LLM documentation issues. The updates to@sveltejs/kitandsvelteare minor version bumps that should maintain compatibility.Also applies to: 86-86, 88-88
llm.config.js (1)
18-21: Verify that ignored sections align with documentation cleanup.The
ignoreconfiguration removes "GitHub Links" and "LLM Link" sections, which aligns with the PR objectives to fix rendering issues with<GitHubCompoLinks />and<LlmLink />components. Ensure that the documentation files have been updated to remove or replace these sections as intended.
Closes #1805
π Description
Status
β Checks
api-checkdirectory as requiredpnpm check && pnpm test:e2eSummary by CodeRabbit
Chores
Documentation