Skip to content

Commit 2f7a0ff

Browse files
committed
Add plugin for llms.txt generation
1 parent 905cbf2 commit 2f7a0ff

File tree

3 files changed

+89
-0
lines changed

3 files changed

+89
-0
lines changed

docusaurus.config.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -119,6 +119,12 @@ const config: Config = {
119119
],
120120
},
121121
],
122+
[
123+
'docusaurus-plugin-llms',
124+
{
125+
// Zero config - generates both llms.txt and llms-full.txt
126+
},
127+
],
122128
],
123129

124130
themes: [

package-lock.json

Lines changed: 82 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@
2121
"@easyops-cn/docusaurus-search-local": "^0.52.1",
2222
"@mdx-js/react": "^3.1.0",
2323
"clsx": "^2.1.1",
24+
"docusaurus-plugin-llms": "^0.2.2",
2425
"prism-react-renderer": "^2.4.1",
2526
"react": "^19.1.0",
2627
"react-dom": "^19.1.0"

0 commit comments

Comments
 (0)