Skip to content

Commit aca9468

Browse files
committed
feat(docs): add llm file generation for docs
1 parent 42ba291 commit aca9468

File tree

3 files changed

+1173
-1097
lines changed

3 files changed

+1173
-1097
lines changed

docs/astro.config.mjs

+3
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,17 @@
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://starter.obytes.com/';
67

78
// https://astro.build/config
89
export default defineConfig({
10+
site: 'https://starter.obytes.com/',
911
integrations: [
1012
starlight({
1113
title: 'Obytes Starter | React Native Template',
14+
plugins: [starlightLlmsTxt()],
1215
description: `Your All-in-One Solution for Building Outstanding React Native/Expo Apps. From editor setup to store submission, we've got you covered!`,
1316
expressiveCode: {
1417
themes: ['dracula', 'solarized-light'],

docs/package.json

+4-3
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)