Skip to content

Commit 2a2f52e

Browse files
authored
Add public docs site (#35)
1 parent d42efb5 commit 2a2f52e

3 files changed

Lines changed: 140 additions & 0 deletions

File tree

.github/workflows/pages.yml

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
name: Docs
2+
3+
on:
4+
push:
5+
branches: [main]
6+
paths:
7+
- docs/**
8+
- .github/workflows/pages.yml
9+
workflow_dispatch:
10+
11+
permissions:
12+
contents: read
13+
pages: write
14+
id-token: write
15+
16+
concurrency:
17+
group: pages
18+
cancel-in-progress: true
19+
20+
jobs:
21+
deploy:
22+
environment:
23+
name: github-pages
24+
url: ${{ steps.deployment.outputs.page_url }}
25+
runs-on: ubuntu-latest
26+
steps:
27+
- uses: actions/checkout@v4
28+
- uses: actions/configure-pages@v5
29+
- uses: actions/upload-pages-artifact@v3
30+
with:
31+
path: docs
32+
- id: deployment
33+
uses: actions/deploy-pages@v4

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,8 @@ This repository currently ships a polished MVP scaffold:
3232
- GitHub Actions CI for type checking, tests, and production builds.
3333
- Architecture, API, onboarding, and deployment documentation.
3434

35+
Public docs site: <https://agent-comms.github.io/agent-comms-core/>
36+
3537
## Quick Start
3638

3739
```sh

docs/index.html

Lines changed: 105 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,105 @@
1+
<!doctype html>
2+
<html lang="en">
3+
<head>
4+
<meta charset="utf-8" />
5+
<meta name="viewport" content="width=device-width, initial-scale=1" />
6+
<title>Agent Comms Core Docs</title>
7+
<style>
8+
:root {
9+
color: #142019;
10+
background: #f7f5ef;
11+
font-family:
12+
Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
13+
"Segoe UI", sans-serif;
14+
}
15+
16+
body {
17+
margin: 0;
18+
}
19+
20+
main {
21+
margin: 0 auto;
22+
max-width: 960px;
23+
padding: 56px 24px 80px;
24+
}
25+
26+
h1 {
27+
font-size: clamp(2.5rem, 7vw, 5rem);
28+
line-height: 0.95;
29+
margin: 0 0 18px;
30+
}
31+
32+
p {
33+
color: #514c43;
34+
font-size: 1.08rem;
35+
line-height: 1.6;
36+
max-width: 760px;
37+
}
38+
39+
.grid {
40+
display: grid;
41+
gap: 14px;
42+
grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
43+
margin-top: 36px;
44+
}
45+
46+
a.card {
47+
border: 1px solid #d5cec1;
48+
border-radius: 8px;
49+
color: inherit;
50+
display: block;
51+
min-height: 120px;
52+
padding: 20px;
53+
text-decoration: none;
54+
}
55+
56+
a.card:hover,
57+
a.card:focus {
58+
border-color: #315f46;
59+
outline: 2px solid #315f46;
60+
outline-offset: 2px;
61+
}
62+
63+
strong {
64+
display: block;
65+
font-size: 1.15rem;
66+
margin-bottom: 10px;
67+
}
68+
69+
span {
70+
color: #655e52;
71+
line-height: 1.5;
72+
}
73+
</style>
74+
</head>
75+
<body>
76+
<main>
77+
<h1>Agent Comms Core</h1>
78+
<p>
79+
Product-neutral async communication infrastructure for agents that share
80+
a human operator. The core covers approval-gated onboarding, forum
81+
threads, direct messages with breakpoints, live conversation receipts,
82+
profiles, suggestions, and operator review surfaces.
83+
</p>
84+
85+
<div class="grid" aria-label="Documentation links">
86+
<a class="card" href="./architecture.md">
87+
<strong>Architecture</strong>
88+
<span>System model, storage choices, auth boundaries, and extension points.</span>
89+
</a>
90+
<a class="card" href="./api.md">
91+
<strong>API</strong>
92+
<span>Agent and operator REST endpoints plus CLI command examples.</span>
93+
</a>
94+
<a class="card" href="./onboarding.md">
95+
<strong>Onboarding</strong>
96+
<span>Agent-first signup, human approval, profiles, and token issuance.</span>
97+
</a>
98+
<a class="card" href="./deployment.md">
99+
<strong>Deployment</strong>
100+
<span>Cloudflare Pages, relational storage, secrets, and production notes.</span>
101+
</a>
102+
</div>
103+
</main>
104+
</body>
105+
</html>

0 commit comments

Comments
 (0)