Skip to content

Commit 4aac0ec

Browse files
authored
Merge branch 'main' into fix-disable-fuzzy
2 parents b74a408 + eb285fa commit 4aac0ec

File tree

6 files changed

+587
-1
lines changed

6 files changed

+587
-1
lines changed

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@
1515
- Improved performance of fuzzy task name matching by implementing lazy
1616
initialization. Added `--disable-fuzzy` flag and `disable-fuzzy` taskrc option
1717
to allow disabling fuzzy matching entirely (#2521, #2523 by @vmaerten).
18+
- Added LLM-optimized documentation via VitePress plugin, generating `llms.txt`
19+
and `llms-full.txt` for AI-powered development tools (#2513 by @vmaerten).
1820

1921
## v3.45.5 - 2025-11-11
2022

website/.vitepress/config.ts

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ import {
1111
import { team } from './team.ts';
1212
import { taskDescription, taskName } from './meta.ts';
1313
import { fileURLToPath, URL } from 'node:url';
14+
import llmstxt, { copyOrDownloadAsMarkdownButtons } from 'vitepress-plugin-llms';
1415

1516
const version = readFileSync(
1617
resolve(__dirname, '../../internal/version/version.txt'),
@@ -90,10 +91,23 @@ export default defineConfig({
9091
});
9192
md.use(tabsMarkdownPlugin);
9293
md.use(groupIconMdPlugin);
94+
md.use(copyOrDownloadAsMarkdownButtons);
9395
}
9496
},
9597
vite: {
9698
plugins: [
99+
llmstxt({
100+
ignoreFiles: [
101+
'index.md',
102+
'team.md',
103+
'donate.md',
104+
'docs/styleguide.md',
105+
'docs/contributing.md',
106+
'docs/releasing.md',
107+
'docs/changelog.md',
108+
'blog/*'
109+
]
110+
}),
97111
groupIconVitePlugin({
98112
customIcon: {
99113
'.taskrc.yml': localIconLoader(

website/.vitepress/theme/index.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ import Version from '../components/Version.vue';
88
import { enhanceAppWithTabs } from 'vitepress-plugin-tabs/client';
99
import { h } from 'vue';
1010
import 'virtual:group-icons.css';
11+
import CopyOrDownloadAsMarkdownButtons from 'vitepress-plugin-llms/vitepress-components/CopyOrDownloadAsMarkdownButtons.vue';
12+
1113
export default {
1214
extends: DefaultTheme,
1315
Layout() {
@@ -19,6 +21,7 @@ export default {
1921
app.component('AuthorCard', AuthorCard);
2022
app.component('BlogPost', BlogPost);
2123
app.component('Version', Version);
24+
app.component('CopyOrDownloadAsMarkdownButtons', CopyOrDownloadAsMarkdownButtons);
2225
enhanceAppWithTabs(app);
2326
}
2427
} satisfies Theme;

website/package.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,5 +22,8 @@
2222
"vitepress-plugin-tabs": "^0.7.1",
2323
"vue": "^3.5.18"
2424
},
25-
"packageManager": "[email protected]+sha512.01ff8ae71b4419903b65c60fb2dc9d34cf8bb6e06d03bde112ef38f7a34d6904c424ba66bea5cdcf12890230bf39f9580473140ed9c946fef328b6e5238a345a"
25+
"packageManager": "[email protected]+sha512.01ff8ae71b4419903b65c60fb2dc9d34cf8bb6e06d03bde112ef38f7a34d6904c424ba66bea5cdcf12890230bf39f9580473140ed9c946fef328b6e5238a345a",
26+
"dependencies": {
27+
"vitepress-plugin-llms": "^1.9.1"
28+
}
2629
}

0 commit comments

Comments
 (0)