-
Notifications
You must be signed in to change notification settings - Fork 31
Expand file tree
/
Copy pathastro.config.mjs
More file actions
116 lines (115 loc) · 4.07 KB
/
Copy pathastro.config.mjs
File metadata and controls
116 lines (115 loc) · 4.07 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
import { defineConfig } from 'astro/config';
import starlight from '@astrojs/starlight';
import { remarkMermaid } from './plugins/remark-mermaid.mjs';
export default defineConfig({
site: 'https://aws-samples.github.io',
base: '/sample-autonomous-cloud-coding-agents',
markdown: {
remarkPlugins: [remarkMermaid],
},
integrations: [
starlight({
title: 'ABCA Docs',
social: [
{
icon: 'github',
label: 'GitHub',
href: 'https://github.com/aws-samples/sample-autonomous-cloud-coding-agents',
},
],
components: {
Search: './src/components/Search.astro',
SiteTitle: './src/components/SiteTitle.astro',
Sidebar: './src/components/Sidebar.astro',
},
head: [
{
tag: 'script',
content:
"(function(){try{if(typeof localStorage!=='undefined'){var k='starlight-theme';if(localStorage.getItem(k)===null)localStorage.setItem(k,'dark');}}catch(e){}})();",
},
{
tag: 'script',
attrs: { type: 'module' },
content:
"import mermaid from 'https://cdn.jsdelivr.net/npm/mermaid@11.4.1/dist/mermaid.esm.min.mjs';mermaid.initialize({startOnLoad:true,theme:document.documentElement.dataset.theme==='light'?'default':'dark'});",
},
],
sidebar: [
{ label: 'Introduction', slug: 'index' },
{
label: 'Getting Started',
items: [
{ label: 'Quick Start', slug: 'getting-started/quick-start' },
{ label: 'Deployment Guide', slug: 'getting-started/deployment-guide' },
],
},
{
label: 'Using the Platform',
items: [
{ slug: 'using/overview' },
{ slug: 'using/workflows' },
{ slug: 'using/authentication' },
{ slug: 'using/using-the-rest-api' },
{ slug: 'using/using-the-cli' },
{ slug: 'using/webhook-integration' },
{ slug: 'using/slack-setup-guide' },
{ slug: 'using/linear-setup-guide' },
{ slug: 'using/linear-pak-migration-runbook' },
{ slug: 'using/deploy-preview-screenshots-guide' },
{ slug: 'using/task-lifecycle' },
{ slug: 'using/what-the-agent-does' },
{ slug: 'using/tips-for-being-a-good-citizen' },
],
},
{
label: 'Customizing',
items: [
{ slug: 'customizing/repository-onboarding' },
{ slug: 'customizing/per-repo-overrides' },
{ label: 'Prompt Engineering', slug: 'customizing/prompt-engineering' },
{ label: 'Cedar Policies', slug: 'customizing/cedar-policies' },
],
},
{
label: 'Developer Guide',
items: [
{ slug: 'developer-guide/introduction' },
{ slug: 'developer-guide/installation' },
{ slug: 'developer-guide/repository-preparation' },
{ slug: 'developer-guide/project-structure' },
{ slug: 'developer-guide/contributing' },
],
},
{
label: 'Architecture',
collapsed: true,
items: [
{ slug: 'architecture/architecture' },
{ slug: 'architecture/orchestrator' },
{ slug: 'architecture/security' },
{ slug: 'architecture/identity-and-auth' },
{ slug: 'architecture/deployment-roles' },
{ slug: 'architecture/memory' },
{ slug: 'architecture/api-contract' },
{ slug: 'architecture/compute' },
{ slug: 'architecture/input-gateway' },
{ slug: 'architecture/observability' },
{ slug: 'architecture/cost-model' },
{ slug: 'architecture/evaluation' },
{ slug: 'architecture/repo-onboarding' },
],
},
{
label: 'Decisions',
collapsed: true,
autogenerate: { directory: 'decisions' },
},
{
label: 'Roadmap',
autogenerate: { directory: 'roadmap' },
},
],
}),
],
});