diff options
| author | Ogulcan Celik <ogulcancelik@gmail.com> | 2026-08-14 03:00:22 +0300 |
|---|---|---|
| committer | Ogulcan Celik <ogulcancelik@gmail.com> | 2026-08-14 03:01:50 +0300 |
| commit | 1bfabbab3fc9a79bf3b93f5dc3962fb8e7afea50 (patch) | |
| tree | dc0bd88ee3cc93c908140292b0a5e5a519d9da8a /website/patches/starlight-llms-txt@0.6.1.patch | |
| parent | 9351b058f34973016a5d5973297d0567513e67a4 (diff) | |
feat(docs): publish agent-readable documentation
Diffstat (limited to 'website/patches/starlight-llms-txt@0.6.1.patch')
| -rw-r--r-- | website/patches/starlight-llms-txt@0.6.1.patch | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/website/patches/starlight-llms-txt@0.6.1.patch b/website/patches/starlight-llms-txt@0.6.1.patch new file mode 100644 index 00000000..b59049c0 --- /dev/null +++ b/website/patches/starlight-llms-txt@0.6.1.patch @@ -0,0 +1,18 @@ +diff --git a/llms-full.txt.ts b/llms-full.txt.ts +index cdc3a34c0555c4a556224f63d937d976c669eef0..45d60f54994240e93277021cb649237c4874f4ce 100644 +--- a/llms-full.txt.ts ++++ b/llms-full.txt.ts +@@ -1,4 +1,5 @@ + import type { APIRoute } from 'astro'; ++import { starlightLllmsTxtContext } from 'virtual:starlight-llms-txt/context'; + import { generateLlmsTxt } from './generator'; + import { getSiteTitle } from './utils'; + +@@ -9,6 +10,7 @@ export const GET: APIRoute = async (context) => { + const body = await generateLlmsTxt(context, { + minify: false, + description: `This is the full developer documentation for ${getSiteTitle()}`, ++ exclude: starlightLllmsTxtContext.exclude, + }); + return new Response(body); + }; |
