-
-
Notifications
You must be signed in to change notification settings - Fork 36.2k
Added llms.txt, llms-full.txt and llms/build.js script. #32673
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: dev
Are you sure you want to change the base?
Conversation
|
@sunag This PR moves |
|
Amazing! 🚀 |
|
@harshpreet931 @Makio64 Looks good? |
|
@mrdoob looks amazing 💯 |
|
My friends Claude & Gemini will be very happy with that update! Looks good, lets test it ! Thanks! |
|
Why not use the jsdoc to generate the md files instead? There is already an extraction steps which would fit perfectly for generating llms and md. |
|
@mrdoob Thanks for driving this forward. Some thoughts:
|
Related issue: #30774 (comment) #31933 (comment) #32660
Summary
Adds
llms.txtfiles following the llms.txt specification to help LLMs generate correct, modern Three.js code.What this does
@0.182.0) in import examplesFiles
/llms.txt/docs/llms.txt/docs/llms-full.txt/docs/pages/*.html.md/utils/llms/build.jsBuild integration
npm run build-llms- Generates all llms.txt filesnpm run build-docs- Now runs build-llms after JSDocDependencies
turndownfor HTML→Markdown conversion