Skip to content

Commit 7d2fc06

Browse files
authored
Merge pull request #6266 from continuedev/bdougie/llms.txt
feat: add llms.txt generation for docs
2 parents ba76e00 + f7bdae3 commit 7d2fc06

File tree

3 files changed

+28
-0
lines changed

3 files changed

+28
-0
lines changed

docs/docusaurus.config.js

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -211,6 +211,15 @@ const config = {
211211
enableInDevelopment: false,
212212
},
213213
],
214+
[
215+
"docusaurus-plugin-llms-txt",
216+
{
217+
// Optional configuration
218+
outputPath: "static/llms.txt",
219+
includePatterns: ["docs/**"],
220+
excludePatterns: ["**/node_modules/**"],
221+
},
222+
],
214223
[
215224
"@docusaurus/plugin-client-redirects",
216225
{

docs/package-lock.json

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

docs/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222
"@docusaurus/preset-classic": "^3.7.0",
2323
"@mdx-js/react": "^3.0.0",
2424
"clsx": "^2.1.0",
25+
"docusaurus-plugin-llms-txt": "^0.1.3",
2526
"posthog-docusaurus": "^2.0.4",
2627
"prism-react-renderer": "^2.3.1",
2728
"react": "^18.2.0",

0 commit comments

Comments
 (0)