mirror of
https://github.com/ArthurDanjou/ui.git
synced 2026-01-25 01:10:40 +01:00
docs(llms): generate llms.txt from content (#3246)
This commit is contained in:
@@ -22,7 +22,8 @@ export default defineNuxtConfig({
|
||||
nuxt.hook('components:dirs', (dirs) => {
|
||||
dirs.unshift({ path: resolve('./app/components/content/examples'), pathPrefix: false, prefix: '', global: true })
|
||||
})
|
||||
}
|
||||
},
|
||||
'~~/modules/llms/module'
|
||||
],
|
||||
|
||||
app: {
|
||||
@@ -147,6 +148,50 @@ export default defineNuxtConfig({
|
||||
image: {
|
||||
provider: 'ipx'
|
||||
},
|
||||
llms: {
|
||||
domain: 'https://ui3.nuxt.dev',
|
||||
title: 'Nuxt UI v3',
|
||||
description: 'A comprehensive, Nuxt-integrated UI library providing a rich set of fully-styled, accessible and highly customizable components for building modern web applications.',
|
||||
sections: [
|
||||
{
|
||||
title: 'Getting Started',
|
||||
collection: 'content',
|
||||
filters: [
|
||||
{
|
||||
field: 'path',
|
||||
operator: 'LIKE',
|
||||
value: '/getting-started%'
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
title: 'Components',
|
||||
collection: 'content',
|
||||
filters: [
|
||||
{
|
||||
field: 'path',
|
||||
operator: 'LIKE',
|
||||
value: '/components/%'
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
title: 'Composables',
|
||||
collection: 'content',
|
||||
filters: [
|
||||
{
|
||||
field: 'path',
|
||||
operator: 'LIKE',
|
||||
value: '/composables/%'
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
notes: [
|
||||
'The documentation excludes Nuxt UI v2 content.',
|
||||
'The content is automatically generated from the same source as the official documentation.'
|
||||
]
|
||||
},
|
||||
|
||||
uiPro: {
|
||||
license: 'oss'
|
||||
|
||||
Reference in New Issue
Block a user