Skip to content

Commit 03f6b3c

Browse files
authored
chore(docs): improve vitepress-plugin-llms configuration (#505)
* feat(docs): generate `llms.txt` and `llms-full.txt` * dont ignore blog * fix whitespaces * update plugin configuration * fix * update plugin * update plugin again * Discard changes to .prettierrc * remove comment * Discard changes to bun.lock * Update config.ts * Update config.ts
1 parent eeaabde commit 03f6b3c

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

docs/.vitepress/config.ts

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ import { transformerTwoslash } from '@shikijs/vitepress-twoslash'
44
import { createFileSystemTypesCache } from '@shikijs/vitepress-twoslash/cache-fs'
55

66
import tailwindcss from '@tailwindcss/vite'
7-
87
import llmstxt from 'vitepress-plugin-llms'
98
import { analyzer } from 'vite-bundle-analyzer'
109

@@ -60,7 +59,12 @@ export default defineConfig({
6059
},
6160
plugins: [
6261
tailwindcss() as any,
63-
process.env.NODE_ENV === 'production' ? llmstxt() : [],
62+
process.env.NODE_ENV === 'production' ? llmstxt({
63+
description: 'Ergonomic Framework for Humans',
64+
details:
65+
"Elysia is an ergonomic framework for Humans. With end-to-end type safety and great developer experience. Elysia is familiar, fast, and first class TypeScript support with well-thought integration between services whether it's tRPC, Swagger or WebSocket.",
66+
ignoreFiles: ['index.md', 'table-of-content.md']
67+
}) : [],
6468
process.env.ANALYZE === 'true' ? analyzer() : [],
6569
// GitChangelog({
6670
// repoURL: () => 'https://github.com/elysiajs/documentation',

0 commit comments

Comments
 (0)