Skip to content

Commit b5d9a8a

Browse files
authored
add llms.txt for AI consumption (#428)
1 parent 774e50e commit b5d9a8a

File tree

3 files changed

+263
-137
lines changed

3 files changed

+263
-137
lines changed

astro.config.mjs

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ import starlightUtils from '@lorenzo_lewis/starlight-utils';
55
import starlightDocSearch from '@astrojs/starlight-docsearch';
66
import starlightLinksValidator from 'starlight-links-validator';
77
import starlightImageZoom from 'starlight-image-zoom';
8+
import starlightLlmsTxt from 'starlight-llms-txt';
89
import sitemap from '@astrojs/sitemap';
910
import starlightFullViewMode from 'starlight-fullview-mode';
1011

@@ -187,6 +188,25 @@ export default defineConfig({
187188
replacesTitle: true,
188189
},
189190
plugins: [
191+
starlightLlmsTxt({
192+
projectName: 'LocalStack',
193+
description:
194+
'LocalStack is a cloud service emulator that runs in a single container on your laptop or in your CI environment. It provides an easy-to-use test/mocking framework for developing cloud applications, with support for AWS services and Snowflake.',
195+
customSets: [
196+
{
197+
label: 'AWS',
198+
description: 'Documentation for LocalStack AWS emulation',
199+
paths: ['aws/**'],
200+
},
201+
{
202+
label: 'Snowflake',
203+
description: 'Documentation for LocalStack Snowflake emulation',
204+
paths: ['snowflake/**'],
205+
},
206+
],
207+
exclude: ['aws/changelog', 'snowflake/changelog'],
208+
rawContent: true,
209+
}),
190210
starlightImageZoom({
191211
showCaptions: true,
192212
}),

0 commit comments

Comments
 (0)