Skip to content

Commit 1b30f1c

Browse files
artimathclaude
andcommitted
refactor: Move llms.txt generation to follow react.dev patterns
- Create src/utils/llms.js following src/utils/rss.js pattern - Refactor scripts/generate-llms-txt.js to thin wrapper - Remove llms-full.txt (simplify to single file approach) - Add dual copyright headers matching codebase style - Extract helper functions for cleaner organization Generates llms.txt (13KB, 167 links) covering 94% of sidebar entries. Missing 10 files are section index pages with path mismatches. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <[email protected]>
1 parent f428f0e commit 1b30f1c

File tree

6 files changed

+12304
-101122
lines changed

6 files changed

+12304
-101122
lines changed

.yarnrc.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
nodeLinker: node-modules

package.json

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,9 @@
9090
"postcss-preset-env": "^6.7.0",
9191
"prettier": "^2.5.1",
9292
"reading-time": "^1.2.0",
93-
"remark": "^12.0.1",
93+
"remark": "^15.0.1",
94+
"remark-mdx": "^3.1.0",
95+
"remark-stringify": "^11.0.0",
9496
"remark-external-links": "^7.0.0",
9597
"remark-html": "^12.0.0",
9698
"remark-images": "^2.0.0",
@@ -117,4 +119,4 @@
117119
"src/**/*.md": "yarn fix-headings"
118120
},
119121
"packageManager": "[email protected]"
120-
}
122+
}

0 commit comments

Comments
 (0)