Skip to content

Commit d6b3324

Browse files
committed
feat: configure Starlight site for multi-product agent-sh org
- Sidebar with AgentSys, Agnix, and Skills sections - Homepage with product cards, quick start, and philosophy - AgentSys section: overview, getting-started, plugin catalog, CLI reference - Agnix section: overview and getting-started - Skills catalog with all 28 skills across 13 plugins - GitHub Pages deploy workflow - public/llms.txt for AI discoverability - Pagefind search enabled across all products
0 parents  commit d6b3324

File tree

20 files changed

+7827
-0
lines changed

20 files changed

+7827
-0
lines changed

.github/workflows/deploy.yml

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
name: Deploy to GitHub Pages
2+
3+
on:
4+
push:
5+
branches: [main]
6+
workflow_dispatch:
7+
8+
permissions:
9+
contents: read
10+
pages: write
11+
id-token: write
12+
13+
concurrency:
14+
group: pages
15+
cancel-in-progress: false
16+
17+
jobs:
18+
build:
19+
runs-on: ubuntu-latest
20+
steps:
21+
- name: Checkout
22+
uses: actions/checkout@v4
23+
- name: Setup Node
24+
uses: actions/setup-node@v4
25+
with:
26+
node-version: 22
27+
cache: npm
28+
- name: Install dependencies
29+
run: npm ci
30+
- name: Build
31+
run: npm run build
32+
- name: Upload artifact
33+
uses: actions/upload-pages-artifact@v3
34+
with:
35+
path: ./dist
36+
37+
deploy:
38+
environment:
39+
name: github-pages
40+
url: ${{ steps.deployment.outputs.page_url }}
41+
runs-on: ubuntu-latest
42+
needs: build
43+
steps:
44+
- name: Deploy to GitHub Pages
45+
id: deployment
46+
uses: actions/deploy-pages@v4

.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

.vscode/extensions.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{
2+
"recommendations": ["astro-build.astro-vscode"],
3+
"unwantedRecommendations": []
4+
}

.vscode/launch.json

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
{
2+
"version": "0.2.0",
3+
"configurations": [
4+
{
5+
"command": "./node_modules/.bin/astro dev",
6+
"name": "Development server",
7+
"request": "launch",
8+
"type": "node-terminal"
9+
}
10+
]
11+
}

astro.config.mjs

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
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://agent-sh.github.io',
8+
base: '/agent-sh.dev',
9+
integrations: [
10+
starlight({
11+
title: 'agent-sh',
12+
tagline: 'Code does code work. AI does AI work.',
13+
social: [
14+
{ icon: 'github', label: 'GitHub', href: 'https://github.com/agent-sh' },
15+
],
16+
sidebar: [
17+
{
18+
label: 'AgentSys',
19+
items: [
20+
{ label: 'Overview', slug: 'agentsys' },
21+
{ label: 'Getting Started', slug: 'agentsys/getting-started' },
22+
{ label: 'Plugin Catalog', slug: 'agentsys/plugins' },
23+
{ label: 'CLI Reference', slug: 'agentsys/cli' },
24+
],
25+
},
26+
{
27+
label: 'Agnix',
28+
items: [
29+
{ label: 'Overview', slug: 'agnix' },
30+
{ label: 'Getting Started', slug: 'agnix/getting-started' },
31+
],
32+
},
33+
{
34+
label: 'Skills',
35+
items: [
36+
{ label: 'Agent Skills Catalog', slug: 'skills' },
37+
],
38+
},
39+
],
40+
}),
41+
],
42+
});

0 commit comments

Comments
 (0)