Skip to content

Commit b476227

Browse files
yjoseasdolo
authored andcommitted
feat(docs): add llm file generation for docs
1 parent 6609156 commit b476227

File tree

3 files changed

+2155
-2261
lines changed

3 files changed

+2155
-2261
lines changed

docs/astro.config.mjs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
import { defineConfig } from 'astro/config';
22
import starlight from '@astrojs/starlight';
33
import { pluginLineNumbers } from '@expressive-code/plugin-line-numbers';
4+
import starlightLlmsTxt from 'starlight-llms-txt';
45

56
const site = 'https://rootstrap.github.io';
67
const base = 'react-native-template';
@@ -12,6 +13,7 @@ export default defineConfig({
1213
integrations: [
1314
starlight({
1415
title: 'Rootstrap React Native Template',
16+
plugins: [starlightLlmsTxt()],
1517
description: `Your All-in-One Solution for Building Outstanding React Native/Expo Apps. From editor setup to store submission, we've got you covered!`,
1618
expressiveCode: {
1719
themes: ['dracula', 'solarized-light'],

docs/package.json

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,14 @@
1010
"astro": "astro"
1111
},
1212
"dependencies": {
13-
"@astrojs/starlight": "^0.27.1",
13+
"@astrojs/starlight": "^0.31.1",
1414
"@expressive-code/plugin-collapsible-sections": "^0.33.4",
1515
"@expressive-code/plugin-line-numbers": "^0.33.4",
1616
"@fontsource/ibm-plex-mono": "^5.0.8",
1717
"@fontsource/ibm-plex-serif": "^5.0.8",
18-
"astro": "^4.15.4",
18+
"astro": "^5.1.10",
1919
"hast-util-to-html": "^9.0.0",
20-
"sharp": "^0.32.3"
20+
"sharp": "^0.32.3",
21+
"starlight-llms-txt": "^0.4.0"
2122
}
2223
}

0 commit comments

Comments
 (0)