Skip to content

Commit f8f4ba0

Browse files
committed
feat(llm.txt): adds script to compile llm.txt
fix(compile-llm-txt.ts): prettier formatting fix(comile-llm-txt): references prod packages fix(compile-llm-txt.ts): updated docs to reference proper apis fix(styles): prettier write feat(llm.txt): updates script to parse all demo code, adds a file size restricted script and output npm run compile:llm = single LLM.txt file with all requirements npm run compile:llm:max-file-size = split files in llm-docs/ to accomidate llm file restrictions of 256kb fix(llm-scripts): improve documentation compilation scripts - Load props from consolidated docgen.json instead of individual files - Remove JSX component references (StylesApiSelectors, KeyboardEventsTable, etc) - Convert internal links to full mantine.dev URLs - Fix multi-file demo extraction to include all files - Fix demo extraction from MDX files with proper AST parsing - Fix markdown code block formatting issues fix(llm-scripts): remove export default Layout statements from output - Filter out 'export default Layout(MDX_DATA...)' lines that are React/Next.js specific - These statements are not relevant for LLM documentation consumption fix(llm-scripts): reduce logging noise in compilation scripts - Only show 'Processing X demos...' when there are demos to process - Remove verbose logging for demo detection and replacement - Remove console warnings for demos that can't be extracted - Keep only essential progress messages for better readability feat(llms): handle multiple file demos, convert internal links, add props descriptions and remove leftovers fix(llm): md rather than txt for easier human readability fix(llms): extract multi files lint(scripts/llm): prettier write fix(chmod.sh): revert fix(llm-docs): remove size restricted doc examples fix(packages/@mantine/core): revert generated style changes revert(chmod.sh): revert
1 parent b9556c7 commit f8f4ba0

File tree

5 files changed

+78189
-1
lines changed

5 files changed

+78189
-1
lines changed

0 commit comments

Comments
 (0)