Skip to content

Commit 283e278

Browse files
Add llms.txt to the website
1 parent 081f10b commit 283e278

3 files changed

Lines changed: 205 additions & 7 deletions

File tree

astro.config.mjs

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
11
// @ts-check
2-
import { defineConfig } from 'astro/config';
3-
import starlight from '@astrojs/starlight';
4-
import mdx from '@astrojs/mdx';
5-
import starlightImageZoom from 'starlight-image-zoom';
6-
import starlightAutoSidebar from 'starlight-auto-sidebar';
2+
import { defineConfig } from 'astro/config'
3+
import starlight from '@astrojs/starlight'
4+
import mdx from '@astrojs/mdx'
5+
import starlightImageZoom from 'starlight-image-zoom'
6+
import starlightAutoSidebar from 'starlight-auto-sidebar'
7+
import starlightLlmsTxt from 'starlight-llms-txt'
78

8-
import tailwindcss from '@tailwindcss/vite';
9+
import tailwindcss from '@tailwindcss/vite'
910

1011
// https://astro.build/config
1112
export default defineConfig({
@@ -75,6 +76,7 @@ export default defineConfig({
7576
plugins: [
7677
starlightImageZoom(),
7778
starlightAutoSidebar(),
79+
starlightLlmsTxt(),
7880
],
7981
}),
8082
mdx(),
@@ -95,4 +97,4 @@ export default defineConfig({
9597
vite: {
9698
plugins: [tailwindcss()],
9799
},
98-
});
100+
})

package-lock.json

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

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
"sharp": "^0.32.5",
1919
"starlight-auto-sidebar": "^0.1.1",
2020
"starlight-image-zoom": "^0.12.0",
21+
"starlight-llms-txt": "^0.5.1",
2122
"tailwindcss": "^4.1.5"
2223
}
2324
}

0 commit comments

Comments
 (0)