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/astro.config.mjs | |
| parent | 9351b058f34973016a5d5973297d0567513e67a4 (diff) | |
feat(docs): publish agent-readable documentation
Diffstat (limited to 'website/astro.config.mjs')
| -rw-r--r-- | website/astro.config.mjs | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/website/astro.config.mjs b/website/astro.config.mjs index b3050bc7..84992ed2 100644 --- a/website/astro.config.mjs +++ b/website/astro.config.mjs @@ -1,6 +1,7 @@ import { defineConfig } from 'astro/config'; import sitemap from '@astrojs/sitemap'; import starlight from '@astrojs/starlight'; +import starlightLlmsTxt from 'starlight-llms-txt'; const repoBlob = 'https://github.com/herdrdev/herdr/blob/master/'; const nonCanonicalDocsPath = /^\/(?:ja\/|zh-cn\/)?docs\/(?:preview|\d+\.\d+\.\d+)(?:\/|$)/; @@ -92,6 +93,21 @@ export default defineConfig({ Sidebar: './src/components/Sidebar.astro', SiteTitle: './src/components/SiteTitle.astro', }, + plugins: [ + starlightLlmsTxt({ + projectName: 'Herdr', + description: 'Terminal workspace manager and runtime for AI coding agents.', + details: 'These files document the current stable Herdr release. Preview and archived release documentation are intentionally excluded.', + exclude: ['docs/preview{,/**}', 'docs/+([0-9]).+([0-9]).+([0-9]){,/**}'], + optionalLinks: [ + { + label: 'Agent guide', + url: 'https://herdr.dev/agent-guide.md', + description: 'help a human understand, set up, or troubleshoot Herdr', + }, + ], + }), + ], customCss: ['./src/styles/starlight.css'], head: [ // the brand display face; Starlight owns its own <head>, so the |
