Skip to content

Commit cc98cf1

Browse files
Paul Mulliganclaude
andcommitted
feat(docs): scaffold Astro Starlight site in docs/
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
1 parent 267cec2 commit cc98cf1

7 files changed

Lines changed: 4075 additions & 0 deletions

File tree

docs/.gitignore

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
# build output
2+
dist/
3+
# generated types
4+
.astro/
5+
6+
# dependencies
7+
node_modules/
8+
9+
# logs
10+
npm-debug.log*
11+
yarn-debug.log*
12+
yarn-error.log*
13+
pnpm-debug.log*
14+
15+
16+
# environment variables
17+
.env
18+
.env.production
19+
20+
# macOS-specific files
21+
.DS_Store

docs/astro.config.mjs

Lines changed: 61 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,61 @@
1+
// @ts-check
2+
import { defineConfig } from "astro/config";
3+
import starlight from "@astrojs/starlight";
4+
5+
// https://astro.build/config
6+
export default defineConfig({
7+
site: "https://claudius-docs.pages.dev",
8+
integrations: [
9+
starlight({
10+
title: "Claudius",
11+
description:
12+
"Embeddable AI chat widget powered by Claude. React component + standalone script embed, backed by Cloudflare Workers.",
13+
social: [
14+
{
15+
icon: "github",
16+
label: "GitHub",
17+
href: "https://github.com/PMDevSolutions/Claudius",
18+
},
19+
],
20+
editLink: {
21+
baseUrl: "https://github.com/PMDevSolutions/Claudius/edit/main/docs/",
22+
},
23+
sidebar: [
24+
{
25+
label: "Getting Started",
26+
items: [
27+
{ slug: "getting-started/introduction" },
28+
{ slug: "getting-started/quick-start" },
29+
{ slug: "getting-started/local-development" },
30+
],
31+
},
32+
{
33+
label: "Configuration",
34+
items: [{ autogenerate: { directory: "configuration" } }],
35+
},
36+
{
37+
label: "Deployment",
38+
items: [{ autogenerate: { directory: "deployment" } }],
39+
},
40+
{
41+
label: "Plugins & Tools",
42+
items: [{ autogenerate: { directory: "plugins" } }],
43+
},
44+
{ label: "RAG", items: [{ autogenerate: { directory: "rag" } }] },
45+
{
46+
label: "Channels",
47+
items: [{ autogenerate: { directory: "channels" } }],
48+
},
49+
{
50+
label: "API Reference",
51+
items: [{ autogenerate: { directory: "api" } }],
52+
},
53+
{
54+
label: "Migration Guides",
55+
items: [{ autogenerate: { directory: "migration" } }],
56+
},
57+
{ label: "FAQ", slug: "faq" },
58+
],
59+
}),
60+
],
61+
});

docs/package.json

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
{
2+
"name": "claudius-docs",
3+
"version": "1.3.0",
4+
"private": true,
5+
"type": "module",
6+
"scripts": {
7+
"dev": "astro dev",
8+
"start": "astro dev",
9+
"build": "astro build",
10+
"preview": "astro preview",
11+
"astro": "astro"
12+
},
13+
"dependencies": {
14+
"@astrojs/starlight": "^0.40.0",
15+
"astro": "^6.4.5",
16+
"sharp": "^0.34.5"
17+
}
18+
}

0 commit comments

Comments
 (0)