Skip to content

Commit 2907f5d

Browse files
domenkozarclaude
andcommitted
docs: add llms.txt support for LLM-friendly documentation
Add starlight-llms-txt plugin to generate /llms.txt, /llms-full.txt, and /llms-small.txt files with a quick start guide and usage summary. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
1 parent 3b46ab5 commit 2907f5d

File tree

3 files changed

+667
-842
lines changed

3 files changed

+667
-842
lines changed

docs/astro.config.mjs

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,37 @@
11
// @ts-check
22
import { defineConfig } from "astro/config";
33
import starlight from "@astrojs/starlight";
4+
import starlightLlmsTxt from "starlight-llms-txt";
45

56
// https://astro.build/config
67
export default defineConfig({
8+
site: "https://secretspec.dev/",
79
integrations: [
810
starlight({
11+
plugins: [
12+
starlightLlmsTxt({
13+
description: `SecretSpec is a declarative secrets manager for development workflows. Define secrets in \`secretspec.toml\`, then use the CLI to manage them.
14+
15+
## Quick Start
16+
17+
1. Initialize: \`secretspec init --from .env\` or create \`secretspec.toml\` manually
18+
2. Set secrets: \`secretspec set DATABASE_URL\`
19+
3. Check status: \`secretspec check\`
20+
4. Run commands with secrets: \`secretspec run -- npm start\`
21+
22+
## Configuration Example
23+
24+
\`\`\`toml
25+
[profiles.default]
26+
DATABASE_URL = { description = "PostgreSQL connection string" }
27+
API_KEY = { description = "External API key" }
28+
\`\`\`
29+
30+
## Providers
31+
32+
Secrets can be stored in: keyring (default), dotenv files, environment variables, 1Password, LastPass, Pass, or Google Cloud Secret Manager.`,
33+
}),
34+
],
935
title: "SecretSpec",
1036
logo: {
1137
src: "./src/assets/logo.png",

0 commit comments

Comments
 (0)